pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define _GNU_SOURCE

Definition at line 13 of file results.c.

Function Documentation

const char* bz2_strerror ( int  rc)

Definition at line 443 of file results.c.

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 362 of file results.c.

crm_exit_t crm_exit ( crm_exit_t  rc)

Definition at line 476 of file results.c.

const char* crm_exit_name ( crm_exit_t  exit_code)

Definition at line 260 of file results.c.

const char* crm_exit_str ( crm_exit_t  exit_code)

Definition at line 306 of file results.c.

const char* pcmk_errorname ( int  rc)

Definition at line 26 of file results.c.

const char* pcmk_strerror ( int  rc)

Definition at line 188 of file results.c.