pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Functions
pcmk_result_code.c File Reference
#include <crm_internal.h>
#include <crm/cib/internal.h>
#include <crm/crm.h>
#include <pacemaker.h>
#include <pacemaker-internal.h>
#include <inttypes.h>
#include <stdint.h>
Include dependency graph for pcmk_result_code.c:

Go to the source code of this file.

Functions

int pcmk__show_result_code (pcmk__output_t *out, int code, enum pcmk_result_type type, uint32_t flags)
 
int pcmk_show_result_code (xmlNodePtr *xml, int code, enum pcmk_result_type type, uint32_t flags)
 
int pcmk__list_result_codes (pcmk__output_t *out, enum pcmk_result_type type, uint32_t flags)
 
int pcmk_list_result_codes (xmlNodePtr *xml, enum pcmk_result_type type, uint32_t flags)
 List all valid result codes in a particular family. More...
 

Function Documentation

◆ pcmk__list_result_codes()

int pcmk__list_result_codes ( pcmk__output_t out,
enum pcmk_result_type  type,
uint32_t  flags 
)

Definition at line 93 of file pcmk_result_code.c.

◆ pcmk__show_result_code()

int pcmk__show_result_code ( pcmk__output_t out,
int  code,
enum pcmk_result_type  type,
uint32_t  flags 
)

Definition at line 35 of file pcmk_result_code.c.

◆ pcmk_list_result_codes()

int pcmk_list_result_codes ( xmlNodePtr *  xml,
enum pcmk_result_type  type,
uint32_t  flags 
)

List all valid result codes in a particular family.

Parameters
[in,out]xmlThe destination for the result, as an XML tree
[in]typeThe family of result codes to list. Supported values: pcmk_result_legacy, pcmk_result_rc, pcmk_result_exitcode.
[in]flagsGroup of pcmk_rc_disp_flags
Returns
Standard Pacemaker return code

Definition at line 151 of file pcmk_result_code.c.

◆ pcmk_show_result_code()

int pcmk_show_result_code ( xmlNodePtr *  xml,
int  code,
enum pcmk_result_type  type,
uint32_t  flags 
)

Definition at line 62 of file pcmk_result_code.c.