pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcmk_output.c File Reference
#include <crm_internal.h>
#include <crm/common/results.h>
#include <crm/msg_xml.h>
#include <crm/stonith-ng.h>
#include <crm/fencing/internal.h>
#include <crm/pengine/internal.h>
#include <libxml/tree.h>
#include <pacemaker-internal.h>
Include dependency graph for pcmk_output.c:

Go to the source code of this file.

Macros

#define STOP_SANITY_ASSERT(lineno)
 

Functions

 PCMK__OUTPUT_ARGS ("rsc-action-item","const char *","pe_resource_t *","pe_node_t *","pe_node_t *","pe_action_t *","pe_action_t *")
 
 PCMK__OUTPUT_ARGS ("digests","pe_resource_t *","pe_node_t *","const char *","guint","op_digest_cache_t *")
 
 PCMK__OUTPUT_ARGS ("rsc-action","pe_resource_t *","pe_node_t *","pe_node_t *","gboolean")
 
void pcmk__register_lib_messages (pcmk__output_t *out)
 

Macro Definition Documentation

#define STOP_SANITY_ASSERT (   lineno)
Value:
do { \
if(current && current->details->unclean) { \
/* It will be a pseudo op */ \
} else if(stop == NULL) { \
crm_err("%s:%d: No stop action exists for %s", \
__func__, lineno, rsc->id); \
CRM_ASSERT(stop != NULL); \
} else if (pcmk_is_set(stop->flags, pe_action_optional)) { \
crm_err("%s:%d: Action %s is still optional", \
__func__, lineno, stop->uuid); \
} \
} while(0)
#define pcmk_is_set(g, f)
Convenience alias for pcmk_all_flags_set(), to check single flag.
Definition: util.h:114
#define crm_err(fmt, args...)
Definition: logging.h:350
#define CRM_ASSERT(expr)
Definition: results.h:42

Definition at line 826 of file pcmk_output.c.

Function Documentation

PCMK__OUTPUT_ARGS ( "rsc-action-item"  ,
"const char *"  ,
"pe_resource_t *"  ,
"pe_node_t *"  ,
"pe_node_t *"  ,
"pe_action_t *"  ,
"pe_action_t *"   
)

Definition at line 105 of file pcmk_output.c.

PCMK__OUTPUT_ARGS ( "digests"  ,
"pe_resource_t *"  ,
"pe_node_t *"  ,
"const char *"  ,
"guint"  ,
"op_digest_cache_t *"   
)

Definition at line 724 of file pcmk_output.c.

PCMK__OUTPUT_ARGS ( "rsc-action ,
"pe_resource_t *"  ,
"pe_node_t *"  ,
"pe_node_t *"  ,
"gboolean"   
)

Definition at line 840 of file pcmk_output.c.

void pcmk__register_lib_messages ( pcmk__output_t out)

Definition at line 1496 of file pcmk_output.c.