This source file includes following definitions.
- orte_filem_base_close
- orte_filem_base_open
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #include "orte_config.h"
21
22 #include "orte/constants.h"
23 #include "orte/mca/mca.h"
24 #include "opal/util/output.h"
25 #include "opal/mca/base/base.h"
26
27 #include "orte/mca/filem/filem.h"
28 #include "orte/mca/filem/base/base.h"
29
30 #include "orte/mca/filem/base/static-components.h"
31
32
33
34
35 ORTE_DECLSPEC orte_filem_base_module_t orte_filem = {
36 .filem_init = orte_filem_base_module_init,
37 .filem_finalize = orte_filem_base_module_finalize,
38 .put = orte_filem_base_none_put,
39 .put_nb = orte_filem_base_none_put_nb,
40 .get = orte_filem_base_none_get,
41 .get_nb = orte_filem_base_none_get_nb,
42 .rm = orte_filem_base_none_rm,
43 .rm_nb = orte_filem_base_none_rm_nb,
44 .wait = orte_filem_base_none_wait,
45 .wait_all = orte_filem_base_none_wait_all,
46 .preposition_files = orte_filem_base_none_preposition_files,
47 .link_local_files = orte_filem_base_none_link_local_files
48 };
49 bool orte_filem_base_is_active = false;
50
51 static int orte_filem_base_close(void)
52 {
53
54 if( NULL != orte_filem.filem_finalize ) {
55 orte_filem.filem_finalize();
56 }
57
58 return mca_base_framework_components_close(&orte_filem_base_framework, NULL);
59 }
60
61
62
63
64
65 static int orte_filem_base_open(mca_base_open_flag_t flags)
66 {
67
68 return mca_base_framework_components_open(&orte_filem_base_framework, flags);
69 }
70
71 MCA_BASE_FRAMEWORK_DECLARE(orte, filem, NULL, NULL, orte_filem_base_open, orte_filem_base_close,
72 mca_filem_base_static_components, 0);