#ifndef PMIX_PSEC_BASE_H_
#define PMIX_PSEC_BASE_H_
#include "src/include/pmix_config.h"
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include "src/class/pmix_pointer_array.h"
#include "src/mca/base/pmix_mca_base_framework.h"
#include "src/mca/mca.h"
#include "src/mca/psec/psec.h"
BEGIN_C_DECLS
PMIX_EXPORT extern pmix_mca_base_framework_t pmix_psec_base_framework;
PMIX_EXPORT pmix_status_t pmix_psec_base_select(void);
struct pmix_psec_base_active_module_t {
pmix_list_item_t super;
int pri;
pmix_psec_module_t *module;
pmix_psec_base_component_t *component;
};
typedef struct pmix_psec_base_active_module_t pmix_psec_base_active_module_t;
PMIX_CLASS_DECLARATION(pmix_psec_base_active_module_t);
struct pmix_psec_globals_t {
pmix_list_t actives;
bool initialized;
bool selected;
};
typedef struct pmix_psec_globals_t pmix_psec_globals_t;
PMIX_EXPORT extern pmix_psec_globals_t pmix_psec_globals;
PMIX_EXPORT char *pmix_psec_base_get_available_modules(void);
PMIX_EXPORT pmix_psec_module_t *pmix_psec_base_assign_module(const char *options);
END_C_DECLS
#endif