1 /* 2 * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana 3 * University Research and Technology 4 * Corporation. All rights reserved. 5 * Copyright (c) 2004-2006 The University of Tennessee and The University 6 * of Tennessee Research Foundation. All rights 7 * reserved. 8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 * University of Stuttgart. All rights reserved. 10 * Copyright (c) 2004-2005 The Regents of the University of California. 11 * All rights reserved. 12 * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. 13 * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. 14 * Copyright (c) 2015-2017 Intel, Inc. All rights reserved. 15 * $COPYRIGHT$ 16 * 17 * Additional copyrights may follow 18 * 19 * $HEADER$ 20 */ 21 22 /** 23 * @file 24 * 25 * Data server for OpenRTE 26 */ 27 #ifndef ORTE_DATA_SERVER_H 28 #define ORTE_DATA_SERVER_H 29 30 #include "orte_config.h" 31 #include "orte/types.h" 32 33 #include "opal/dss/dss_types.h" 34 #include "orte/mca/rml/rml_types.h" 35 36 BEGIN_C_DECLS 37 38 #define ORTE_PMIX_PUBLISH_CMD 0x01 39 #define ORTE_PMIX_LOOKUP_CMD 0x02 40 #define ORTE_PMIX_UNPUBLISH_CMD 0x03 41 #define ORTE_PMIX_PURGE_PROC_CMD 0x04 42 43 /* provide hooks to startup and finalize the data server */ 44 ORTE_DECLSPEC int orte_data_server_init(void); 45 ORTE_DECLSPEC void orte_data_server_finalize(void); 46 47 /* provide hook for the non-blocking receive */ 48 ORTE_DECLSPEC void orte_data_server(int status, orte_process_name_t* sender, 49 opal_buffer_t* buffer, orte_rml_tag_t tag, 50 void* cbdata); 51 52 END_C_DECLS 53 54 #endif /* ORTE_DATA_SERVER_H */