OpenMPI 0.1.1

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

- File List
- Globals

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
48 struct mca_rcache_base_selected_module_t {
49 opal_list_item_t super;
50 mca_rcache_base_component_t *rcache_component;
51 mca_rcache_base_module_t *rcache_module;
52 };
53 typedef struct mca_rcache_base_selected_module_t mca_rcache_base_selected_module_t;
54
55 OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_rcache_base_selected_module_t);
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 */
mca_rcache_base_selected_module_t
Definition: base.h:48
mca_rcache_base_module_t
rcache module descriptor
Definition: rcache.h:83
opal_list.h
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
mca.h
Top-level interface for all MCA components.
opal_list_item_t
Definition: opal_list.h:98
mca_rcache_base_open
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
OBJ_CLASS_DECLARATION
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(mca_oob_base_info_t)
declare the association structure as a class
rcache.h
Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana University Research and Techno...
mca_rcache_base_component_2_0_0_t
rcache component descriptor.
Definition: rcache.h:69
opal_list_t
Definition: opal_list.h:147