![]() |
pacemaker
2.1.9-49aab99839
Scalable High-Availability cluster resource manager
|
#include <glib.h>

Go to the source code of this file.
Data Structures | |
| struct | pcmk__action_result_t |
Macros | |
| #define | pcmk__assert(expr) |
| #define | pcmk__mem_assert(ptr) |
| #define | PCMK__RC_ERROR pcmk__rc_error_quark() |
| #define | PCMK__EXITC_ERROR pcmk__exitc_error_quark() |
| #define | PCMK__UNKNOWN_RESULT |
Functions | |
| int | pcmk__result_bounds (enum pcmk_result_type, int *lower, int *upper) |
| _Noreturn void | pcmk__abort_as (const char *file, const char *function, int line, const char *assert_condition) |
| GQuark | pcmk__rc_error_quark (void) |
| GQuark | pcmk__exitc_error_quark (void) |
| void | pcmk__set_result (pcmk__action_result_t *result, int exit_status, enum pcmk_exec_status exec_status, const char *exit_reason) |
| void | pcmk__format_result (pcmk__action_result_t *result, int exit_status, enum pcmk_exec_status exec_status, const char *format,...) G_GNUC_PRINTF(4 |
| void void | pcmk__set_result_output (pcmk__action_result_t *result, char *out, char *err) |
| void | pcmk__reset_result (pcmk__action_result_t *result) |
| void | pcmk__copy_result (const pcmk__action_result_t *src, pcmk__action_result_t *dst) |
| int | pcmk__gaierror2rc (int gai) |
| Map a getaddrinfo() return code to the most similar Pacemaker return code. More... | |
| int | pcmk__bzlib2rc (int bz2) |
| Map a bz2 return code to the most similar Pacemaker return code. More... | |
Variables | |
| const size_t | pcmk__n_rc |
| #define pcmk__assert | ( | expr | ) |
Definition at line 22 of file results_internal.h.
| #define PCMK__EXITC_ERROR pcmk__exitc_error_quark() |
Definition at line 51 of file results_internal.h.
| #define pcmk__mem_assert | ( | ptr | ) |
Definition at line 37 of file results_internal.h.
| #define PCMK__RC_ERROR pcmk__rc_error_quark() |
Definition at line 50 of file results_internal.h.
| #define PCMK__UNKNOWN_RESULT |
Definition at line 70 of file results_internal.h.
| _Noreturn void pcmk__abort_as | ( | const char * | file, |
| const char * | function, | ||
| int | line, | ||
| const char * | assert_condition | ||
| ) |
| int pcmk__bzlib2rc | ( | int | bz2 | ) |
| void pcmk__copy_result | ( | const pcmk__action_result_t * | src, |
| pcmk__action_result_t * | dst | ||
| ) |
| GQuark pcmk__exitc_error_quark | ( | void | ) |
| void pcmk__format_result | ( | pcmk__action_result_t * | result, |
| int | exit_status, | ||
| enum pcmk_exec_status | exec_status, | ||
| const char * | format, | ||
| ... | |||
| ) |
| int pcmk__gaierror2rc | ( | int | gai | ) |
| GQuark pcmk__rc_error_quark | ( | void | ) |
| void pcmk__reset_result | ( | pcmk__action_result_t * | result | ) |
| int pcmk__result_bounds | ( | enum | pcmk_result_type, |
| int * | lower, | ||
| int * | upper | ||
| ) |
| void pcmk__set_result | ( | pcmk__action_result_t * | result, |
| int | exit_status, | ||
| enum pcmk_exec_status | exec_status, | ||
| const char * | exit_reason | ||
| ) |
| void void pcmk__set_result_output | ( | pcmk__action_result_t * | result, |
| char * | out, | ||
| char * | err | ||
| ) |
1.8.14