OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

orte_data_server.h
Go to the documentation of this file.
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$
15 *
16 * Additional copyrights may follow
17 *
18 * $HEADER$
19 */
20
21 /**
22 * @file
23 *
24 * Data server for OpenRTE
25 */
26 #ifndef ORTE_DATA_SERVER_H
27 #define ORTE_DATA_SERVER_H
28
29 #include "orte_config.h"
30 #include "orte/types.h"
31
32 #include "opal/dss/dss_types.h"
33 #include "orte/mca/rml/rml_types.h"
34
35 BEGIN_C_DECLS
36
37 /* provide hooks to startup and finalize the data server */
38 ORTE_DECLSPEC int orte_data_server_init(void);
39 ORTE_DECLSPEC void orte_data_server_finalize(void);
40
41 /* provide hook for the non-blocking receive */
42 ORTE_DECLSPEC void orte_data_server(int status, orte_process_name_t* sender,
43 opal_buffer_t* buffer, orte_rml_tag_t tag,
44 void* cbdata);
45
46 /* define a type and some values for the commands
47 * to be used with the server
48 */
49 typedef uint8_t orte_data_server_cmd_t;
50 #define ORTE_DATA_SERVER_CMD OPAL_UINT8
51
52 #define ORTE_DATA_SERVER_PUBLISH 0x01
53 #define ORTE_DATA_SERVER_UNPUBLISH 0x02
54 #define ORTE_DATA_SERVER_LOOKUP 0x04
55
56
57 END_C_DECLS
58
59 #endif /* ORTE_DATA_SERVER_H */
orte_process_name_t
Definition: types.h:146
types.h
dss_types.h
Buffer management types.
orte_rml_tag_t
uint32_t orte_rml_tag_t
Message matching tag.
Definition: rml_types.h:220
opal_buffer_t
Structure for holding a buffer to be used with the RML or OOB subsystems.
Definition: dss_types.h:159
rml_types.h
Contains the typedefs for the use of the rml.