OpenMPI  0.1.1
routed_types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008 Los Alamos National Security, LLC.
3  * All rights reserved.
4  * Copyright (c) 2004-2008 The Trustees of Indiana University.
5  * All rights reserved.
6  * $COPYRIGHT$
7  *
8  * Additional copyrights may follow
9  *
10  * $HEADER$
11  */
12 
13 /**
14  * @file
15  *
16  * Type definitions to support routed framework
17  */
18 
19 
20 #ifndef ORTE_MCA_ROUTED_TYPES_H_
21 #define ORTE_MCA_ROUTED_TYPES_H_
22 
23 #include "orte_config.h"
24 #include "orte/types.h"
25 
26 #include "opal/class/opal_bitmap.h"
27 #include "opal/class/opal_list.h"
28 
29 BEGIN_C_DECLS
30 
31 #if !ORTE_DISABLE_FULL_SUPPORT
32 
33 /* struct for tracking routing trees */
34 typedef struct {
35  opal_list_item_t super;
36  orte_vpid_t vpid;
37  opal_bitmap_t relatives;
40 
41 /* struct for tracking external routes */
42 typedef struct {
43  opal_object_t super;
44  uint16_t job_family;
45  orte_process_name_t route;
46  char *hnp_uri;
49 
50 #endif
51 
52 END_C_DECLS
53 
54 #endif
Definition: routed_types.h:34
Definition: opal_bitmap.h:53
Definition: types.h:146
A bitmap implementation.
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Definition: opal_list.h:98
Base object.
Definition: opal_object.h:182
Definition: routed_types.h:42
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236