pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
Data Structures | Macros | Functions
results_internal.h File Reference
#include <glib.h>
Include dependency graph for results_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pcmk__action_result_t
 

Macros

#define PCMK__RC_ERROR   pcmk__rc_error_quark()
 
#define PCMK__EXITC_ERROR   pcmk__exitc_error_quark()
 

Functions

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__set_result_output (pcmk__action_result_t *result, char *out, char *err)
 
void pcmk__reset_result (pcmk__action_result_t *result)
 

Macro Definition Documentation

◆ PCMK__EXITC_ERROR

#define PCMK__EXITC_ERROR   pcmk__exitc_error_quark()

Definition at line 21 of file results_internal.h.

◆ PCMK__RC_ERROR

#define PCMK__RC_ERROR   pcmk__rc_error_quark()

Definition at line 20 of file results_internal.h.

Function Documentation

◆ pcmk__exitc_error_quark()

GQuark pcmk__exitc_error_quark ( void  )

◆ pcmk__rc_error_quark()

GQuark pcmk__rc_error_quark ( void  )

◆ pcmk__reset_result()

void pcmk__reset_result ( pcmk__action_result_t result)

Definition at line 898 of file results.c.

◆ pcmk__set_result()

void pcmk__set_result ( pcmk__action_result_t result,
int  exit_status,
enum pcmk_exec_status  exec_status,
const char *  exit_reason 
)

Definition at line 848 of file results.c.

◆ pcmk__set_result_output()

void pcmk__set_result_output ( pcmk__action_result_t result,
char *  out,
char *  err 
)

Definition at line 878 of file results.c.