OpenMPI  0.1.1
base.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2004-2005 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$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 /**
19  * @file
20  */
21 #ifndef MCA_RCACHE_BASE_H
22 #define MCA_RCACHE_BASE_H
23 
24 #include "ompi_config.h"
25 
26 #include "opal/class/opal_list.h"
27 #include "opal/mca/mca.h"
28 #include "ompi/mca/rcache/rcache.h"
29 
30 BEGIN_C_DECLS
31 
32 /*
33  * create a module by name
34  */
35 OMPI_DECLSPEC mca_rcache_base_module_t* mca_rcache_base_module_create(const char* name);
36 
37 /*
38  * opens all rcache components
39  */
40 OMPI_DECLSPEC int mca_rcache_base_open(void);
41 
42 /*
43  * close all rcache components and call finalize on any open modules
44  */
45 OMPI_DECLSPEC int mca_rcache_base_close(void);
46 
47 
49  opal_list_item_t super;
50  mca_rcache_base_component_t *rcache_component;
51  mca_rcache_base_module_t *rcache_module;
52 };
54 
56 
57 OMPI_DECLSPEC mca_rcache_base_component_t* mca_rcache_base_component_lookup(const char* name);
58 OMPI_DECLSPEC mca_rcache_base_module_t* mca_rcache_base_module_lookup(const char* name);
59 
60 /*
61  * Globals
62  */
63 OMPI_DECLSPEC extern int mca_rcache_base_output;
64 OMPI_DECLSPEC extern opal_list_t mca_rcache_base_components;
65 OMPI_DECLSPEC extern opal_list_t mca_rcache_base_modules;
66 
67 END_C_DECLS
68 
69 #endif /* MCA_RCACHE_BASE_H */
rcache module descriptor
Definition: rcache.h:83
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Top-level interface for all MCA components.
Definition: opal_list.h:98
OMPI_DECLSPEC int mca_rcache_base_open(void)
Function for finding and opening either all MCA components, or the one that was specifically requeste...
Definition: rcache_base_open.c:52
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(mca_oob_base_info_t)
declare the association structure as a class
Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana University Research and Techno...
rcache component descriptor.
Definition: rcache.h:69
Definition: opal_list.h:147