#include <crm_internal.h>
#include <bzlib.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <qb/qbdefs.h>
#include <crm/common/mainloop.h>
#include <crm/common/xml.h>
Go to the source code of this file.
#define PCMK__N_RC (sizeof(pcmk__rcs) / sizeof(struct pcmk__rc_info)) |
const char* bz2_strerror |
( |
int |
rc | ) |
|
const char* pcmk_errorname |
( |
int |
rc | ) |
|
int pcmk_legacy2rc |
( |
int |
legacy_rc | ) |
|
Map a function return code to the most similar exit code.
- Parameters
-
[in] | rc | Function return code |
- Returns
- Most similar exit code
Definition at line 620 of file results.c.
int pcmk_rc2legacy |
( |
int |
rc | ) |
|
const char* pcmk_rc_name |
( |
int |
rc | ) |
|
Get a return code constant name as a string.
- Parameters
-
[in] | rc | Integer return code to convert |
- Returns
- String of constant name corresponding to rc
Definition at line 266 of file results.c.
const char* pcmk_rc_str |
( |
int |
rc | ) |
|
Get a user-friendly description of a return code.
- Parameters
-
[in] | rc | Integer return code to convert |
- Returns
- String description of rc
Definition at line 420 of file results.c.
const char* pcmk_strerror |
( |
int |
rc | ) |
|