OpenMPI 0.1.1

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

- File List
- Globals

rfg_groups.h
1 #ifndef _RFG_GROUPS_H
2 #define _RFG_GROUPS_H
3
4 #include "vt_inttypes.h"
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif /* __cplusplus */
9
10 typedef struct RFG_Groups_struct RFG_Groups;
11
12 /* initalizes RFG groups object */
13 RFG_Groups* RFG_Groups_init( void );
14
15 /* cleanup RFG groups object */
16 int RFG_Groups_free( RFG_Groups* groups );
17
18 /* sets group definition file name */
19 int RFG_Groups_setDefFile( RFG_Groups* groups, const char* deffile );
20
21 /* reads group definition file */
22 int RFG_Groups_readDefFile( RFG_Groups* groups );
23
24 /* adds group assignment */
25 int RFG_Groups_addAssign( RFG_Groups* groups, const char* gname,
26 const char* pattern );
27
28 /* gets group name by region name */
29 int RFG_Groups_get( RFG_Groups* groups, const char* rname,
30 char** r_gname );
31
32 #ifdef __cplusplus
33 }
34 #endif /* __cplusplus */
35
36 #endif /* _RFG_GROUPS_H */
RFG_Groups_struct
Definition: rfg_groups.c:25