#include <glib.h>
Go to the source code of this file.
 | 
| int  | pcmk__result_bounds (enum pcmk_result_type, int *lower, int *upper) | 
|   | 
| 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__format_result (pcmk__action_result_t *result, int exit_status, enum pcmk_exec_status exec_status, const char *format,...) G_GNUC_PRINTF(4 | 
|   | 
| void void  | pcmk__set_result_output (pcmk__action_result_t *result, char *out, char *err) | 
|   | 
| void  | pcmk__reset_result (pcmk__action_result_t *result) | 
|   | 
| void  | pcmk__copy_result (const pcmk__action_result_t *src, pcmk__action_result_t *dst) | 
|   | 
| int  | pcmk__gaierror2rc (int gai) | 
|   | Map a getaddrinfo() return code to the most similar Pacemaker return code.  More...
  | 
|   | 
| int  | pcmk__bzlib2rc (int bz2) | 
|   | Map a bz2 return code to the most similar Pacemaker return code.  More...
  | 
|   | 
◆ PCMK__EXITC_ERROR
◆ PCMK__RC_ERROR
◆ PCMK__UNKNOWN_RESULT
      
        
          | #define PCMK__UNKNOWN_RESULT | 
        
      
 
Value:{                  \
        .exit_reason = NULL,                    \
        .action_stdout = NULL,                  \
        .action_stderr = NULL,                  \
    }
Used only to initialize variables. 
 
 
Definition at line 48 of file results_internal.h.
 
 
◆ pcmk__bzlib2rc()
      
        
          | int pcmk__bzlib2rc  | 
          ( | 
          int  | 
          bz2 | ) | 
           | 
        
      
 
Map a bz2 return code to the most similar Pacemaker return code. 
- Parameters
 - 
  
  
 
- Returns
 - Most similar Pacemaker return code 
 
Definition at line 906 of file results.c.
 
 
◆ pcmk__copy_result()
◆ pcmk__exitc_error_quark()
      
        
          | GQuark pcmk__exitc_error_quark  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ pcmk__format_result()
◆ pcmk__gaierror2rc()
      
        
          | int pcmk__gaierror2rc  | 
          ( | 
          int  | 
          gai | ) | 
           | 
        
      
 
Map a getaddrinfo() return code to the most similar Pacemaker return code. 
- Parameters
 - 
  
    | [in] | gai | getaddrinfo() return code | 
  
   
- Returns
 - Most similar Pacemaker return code 
 
Definition at line 865 of file results.c.
 
 
◆ pcmk__rc_error_quark()
      
        
          | GQuark pcmk__rc_error_quark  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ pcmk__reset_result()
◆ pcmk__result_bounds()
      
        
          | int pcmk__result_bounds  | 
          ( | 
          enum  | 
          pcmk_result_type,  | 
        
        
           | 
           | 
          int *  | 
          lower,  | 
        
        
           | 
           | 
          int *  | 
          upper  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ pcmk__set_result()
◆ pcmk__set_result_output()
◆ pcmk__n_rc