pacemaker  2.0.3-4b1f869f0f
Scalable High-Availability cluster resource manager
Macros | Functions
results.c File Reference
#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>
Include dependency graph for results.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

const char * pcmk_errorname (int rc)
 
const char * pcmk_strerror (int rc)
 
const char * crm_exit_name (crm_exit_t exit_code)
 
const char * crm_exit_str (crm_exit_t exit_code)
 
crm_exit_t crm_errno2exit (int rc)
 Map an errno to a similar exit status. More...
 
const char * bz2_strerror (int rc)
 
crm_exit_t crm_exit (crm_exit_t rc)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 13 of file results.c.

Function Documentation

◆ bz2_strerror()

const char* bz2_strerror ( int  rc)

Definition at line 445 of file results.c.

◆ crm_errno2exit()

crm_exit_t crm_errno2exit ( int  rc)

Map an errno to a similar exit status.

Parameters
[in]errnoError number to map
Returns
Exit status corresponding to errno

Definition at line 364 of file results.c.

◆ crm_exit()

crm_exit_t crm_exit ( crm_exit_t  rc)

Definition at line 478 of file results.c.

◆ crm_exit_name()

const char* crm_exit_name ( crm_exit_t  exit_code)

Definition at line 262 of file results.c.

◆ crm_exit_str()

const char* crm_exit_str ( crm_exit_t  exit_code)

Definition at line 308 of file results.c.

◆ pcmk_errorname()

const char* pcmk_errorname ( int  rc)

Definition at line 26 of file results.c.

◆ pcmk_strerror()

const char* pcmk_strerror ( int  rc)

Definition at line 188 of file results.c.