22 #ifndef MCA_NOTIFIER_BASE_H
23 #define MCA_NOTIFIER_BASE_H
28 #include "orte_config.h"
58 ORTE_DECLSPEC
int orte_notifier_base_close(
void);
61 #if !ORTE_DISABLE_FULL_SUPPORT
62 ORTE_DECLSPEC
void orte_notifier_log(orte_notifier_base_severity_t severity,
64 const char *msg, ...);
65 ORTE_DECLSPEC
void orte_notifier_show_help(orte_notifier_base_severity_t severity,
68 const char *topic, ...);
69 ORTE_DECLSPEC
void orte_notifier_log_peer(orte_notifier_base_severity_t severity,
72 const char *msg, ...);
73 ORTE_DECLSPEC
const char* orte_notifier_base_sev2str(orte_notifier_base_severity_t severity);
74 ORTE_DECLSPEC
char *orte_notifier_base_peer_log(
int errcode,
76 const char *msg, va_list ap);
78 #if ORTE_WANT_NOTIFIER_LOG_EVENT
80 ORTE_DECLSPEC
int orte_notifier_base_events_init(
void);
81 ORTE_DECLSPEC
void orte_notifier_base_events_finalize(
void);
85 #define orte_notifier_base_events_init() do {} while (0)
86 #define orte_notifier_base_events_finalize() do {} while (0)
98 ORTE_DECLSPEC
extern bool orte_notifier_base_log_selected;
99 ORTE_DECLSPEC
extern bool orte_notifier_base_help_selected;
100 ORTE_DECLSPEC
extern bool orte_notifier_base_log_peer_selected;
101 ORTE_DECLSPEC
extern bool orte_notifier_base_log_event_selected;
105 ORTE_DECLSPEC
extern opal_list_t orte_notifier_log_selected_modules;
106 ORTE_DECLSPEC
extern opal_list_t orte_notifier_help_selected_modules;
107 ORTE_DECLSPEC
extern opal_list_t orte_notifier_log_peer_selected_modules;
108 ORTE_DECLSPEC
extern opal_list_t orte_notifier_log_event_selected_modules;
113 ORTE_DECLSPEC
extern opal_list_t orte_notifier_base_selected_modules;
114 ORTE_DECLSPEC
extern int orte_notifier_base_output;
115 ORTE_DECLSPEC
extern orte_notifier_base_severity_t orte_notifier_threshold_severity;
116 ORTE_DECLSPEC
extern opal_list_t orte_notifier_base_components_available;
The OpenRTE Environment-Specific Services.
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Definition: notifier.h:98
Top-level interface for all MCA components.
Definition: opal_list.h:98
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(mca_oob_base_info_t)
declare the association structure as a class
Definition: opal_list.h:147
Definition: notifier.h:138
ORTE_DECLSPEC int orte_notifier_base_open(void)
Function for finding and opening either all MCA components, or the one that was specifically requeste...
Definition: notifier_base_open.c:69
ORTE_DECLSPEC int orte_notifier_base_select(void)
Function for selecting a set of components from all those that are available.
Definition: notifier_base_select.c:117
A simple C-language object-oriented system with single inheritance and ownership-based memory managem...
The OpenRTE Notifier Framework.