File indexing completed on 2025-02-23 10:12:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #ifndef PMIX_PSEC_BASE_H_
0026 #define PMIX_PSEC_BASE_H_
0027
0028 #include "src/include/pmix_config.h"
0029
0030 #ifdef HAVE_SYS_TIME_H
0031 # include <sys/time.h> /* for struct timeval */
0032 #endif
0033 #ifdef HAVE_STRING_H
0034 # include <string.h>
0035 #endif
0036
0037 #include "src/class/pmix_pointer_array.h"
0038 #include "src/mca/base/pmix_mca_base_framework.h"
0039 #include "src/mca/mca.h"
0040
0041 #include "src/mca/psec/psec.h"
0042
0043 BEGIN_C_DECLS
0044
0045
0046
0047
0048 PMIX_EXPORT extern pmix_mca_base_framework_t pmix_psec_base_framework;
0049
0050
0051
0052
0053
0054
0055 PMIX_EXPORT pmix_status_t pmix_psec_base_select(void);
0056
0057
0058
0059
0060 struct pmix_psec_base_active_module_t {
0061 pmix_list_item_t super;
0062 int pri;
0063 pmix_psec_module_t *module;
0064 pmix_psec_base_component_t *component;
0065 };
0066 typedef struct pmix_psec_base_active_module_t pmix_psec_base_active_module_t;
0067 PMIX_CLASS_DECLARATION(pmix_psec_base_active_module_t);
0068
0069
0070 struct pmix_psec_globals_t {
0071 pmix_list_t actives;
0072 bool initialized;
0073 bool selected;
0074 };
0075 typedef struct pmix_psec_globals_t pmix_psec_globals_t;
0076
0077 PMIX_EXPORT extern pmix_psec_globals_t pmix_psec_globals;
0078
0079 PMIX_EXPORT char *pmix_psec_base_get_available_modules(void);
0080 PMIX_EXPORT pmix_psec_module_t *pmix_psec_base_assign_module(const char *options);
0081
0082 END_C_DECLS
0083
0084 #endif