10 #ifndef PCMK__PCMKI_PCMKI_TICKET__H 11 # define PCMK__PCMKI_PCMKI_TICKET__H 59 const char *ticket_id,
bool force);
75 const char *ticket_id,
const char *attr_name,
76 const char *attr_default);
97 const char *ticket_id,
bool details,
bool raw);
114 const char *ticket_id, GList *attr_delete,
bool force);
136 const char *ticket_id, GHashTable *attr_set,
bool force);
int pcmk__ticket_get_attr(pcmk__output_t *out, pcmk_scheduler_t *scheduler, const char *ticket_id, const char *attr_name, const char *attr_default)
Data types for Cluster Information Base access.
Formatted output for pacemaker tools.
int pcmk__ticket_info(pcmk__output_t *out, pcmk_scheduler_t *scheduler, const char *ticket_id, bool details, bool raw)
Return information about the given ticket.
int pcmk__ticket_set_attr(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, const char *ticket_id, GHashTable *attr_set, bool force)
Set the given attribute(s) on a ticket.
int pcmk__ticket_remove_attr(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, const char *ticket_id, GList *attr_delete, bool force)
Remove the given attribute(s) from a ticket.
int pcmk__get_ticket_state(cib_t *cib, const char *ticket_id, xmlNode **state)
int pcmk__ticket_state(pcmk__output_t *out, cib_t *cib, const char *ticket_id)
int pcmk__ticket_constraints(pcmk__output_t *out, cib_t *cib, const char *ticket_id)
pcmk_scheduler_t * scheduler
This structure contains everything that makes up a single output formatter.
int pcmk__ticket_delete(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, const char *ticket_id, bool force)