OpenMPI  0.1.1
orted.h
1 /*
2  * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2011 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$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 
19 #ifndef ORTED_H
20 #define ORTED_H
21 
22 #include "orte_config.h"
23 #include "orte/types.h"
24 
25 #ifdef HAVE_TIME_H
26 #include <time.h>
27 #endif
28 
29 #include "opal/dss/dss_types.h"
31 #include "orte/mca/rml/rml_types.h"
32 
33 BEGIN_C_DECLS
34 
35 /* main orted routine */
36 ORTE_DECLSPEC int orte_daemon(int argc, char *argv[]);
37 
38 /* orted communication functions */
39 ORTE_DECLSPEC void orte_daemon_recv(int status, orte_process_name_t* sender,
40  opal_buffer_t *buffer, orte_rml_tag_t tag,
41  void* cbdata);
42 
43 /* direct cmd processing entry points */
44 ORTE_DECLSPEC void orte_daemon_cmd_processor(int fd, short event, void *data);
45 ORTE_DECLSPEC int orte_daemon_process_commands(orte_process_name_t* sender,
46  opal_buffer_t *buffer,
47  orte_rml_tag_t tag);
48 
49 /* a time flag that needs to be visible elsewhere */
50 ORTE_DECLSPEC extern struct timeval orte_daemon_msg_recvd;
51 
52 END_C_DECLS
53 
54 /* Local function */
55 int send_to_local_applications(opal_pointer_array_t *dead_names);
56 
57 #endif /* ORTED_H */
dynamic pointer array
Definition: opal_pointer_array.h:45
Definition: types.h:146
Structure to represent a single event.
Definition: event_struct.h:87
See opal_bitmap.h for an explanation of why there is a split between OPAL and ORTE for this generic c...
Buffer management types.
uint32_t orte_rml_tag_t
Message matching tag.
Definition: rml_types.h:220
Structure for holding a buffer to be used with the RML or OOB subsystems.
Definition: dss_types.h:159
Contains the typedefs for the use of the rml.