1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 #ifndef ORTE_MCA_ERRMGR_PRIVATE_H
26 #define ORTE_MCA_ERRMGR_PRIVATE_H
27
28
29
30
31 #include "orte_config.h"
32 #include "orte/constants.h"
33 #include "orte/types.h"
34
35 #ifdef HAVE_UNISTD_H
36 #include <unistd.h>
37 #endif
38
39 #include "opal/dss/dss_types.h"
40 #include "orte/mca/plm/plm_types.h"
41 #include "orte/runtime/orte_globals.h"
42
43 #include "orte/mca/errmgr/errmgr.h"
44
45
46
47
48 BEGIN_C_DECLS
49
50
51 typedef struct {
52 opal_list_t error_cbacks;
53 } orte_errmgr_base_t;
54
55 ORTE_DECLSPEC extern orte_errmgr_base_t orte_errmgr_base;
56
57
58 ORTE_DECLSPEC extern orte_errmgr_base_module_t orte_errmgr_default_fns;
59
60
61
62
63 ORTE_DECLSPEC void orte_errmgr_base_log(int error_code, char *filename, int line);
64
65 ORTE_DECLSPEC void orte_errmgr_base_abort(int error_code, char *fmt, ...)
66 __opal_attribute_format__(__printf__, 2, 3);
67 ORTE_DECLSPEC int orte_errmgr_base_abort_peers(orte_process_name_t *procs,
68 orte_std_cntr_t num_procs,
69 int error_code);
70
71 END_C_DECLS
72 #endif