|  | pacemaker
    2.1.9-49aab99839
    Scalable High-Availability cluster resource manager | 


Go to the source code of this file.
| Functions | |
| int | pcmk__get_ticket_state (cib_t *cib, const char *ticket_id, xmlNode **state) | 
| int | pcmk__ticket_constraints (pcmk__output_t *out, cib_t *cib, const char *ticket_id) | 
| int | pcmk__ticket_delete (pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, const char *ticket_id, 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) | 
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
| int | pcmk__ticket_state (pcmk__output_t *out, cib_t *cib, const char *ticket_id) | 
| int pcmk__get_ticket_state | ( | cib_t * | cib, | 
| const char * | ticket_id, | ||
| xmlNode ** | state | ||
| ) | 
Definition at line 76 of file pcmk_ticket.c.
| int pcmk__ticket_constraints | ( | pcmk__output_t * | out, | 
| cib_t * | cib, | ||
| const char * | ticket_id | ||
| ) | 
Definition at line 112 of file pcmk_ticket.c.
| int pcmk__ticket_delete | ( | pcmk__output_t * | out, | 
| cib_t * | cib, | ||
| pcmk_scheduler_t * | scheduler, | ||
| const char * | ticket_id, | ||
| bool | force | ||
| ) | 
Definition at line 180 of file pcmk_ticket.c.
| 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 | ||
| ) | 
Definition at line 259 of file pcmk_ticket.c.
| 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.
| [in,out] | out | Output object | 
| [in,out] | scheduler | Scheduler data | 
| [in] | ticket_id | Ticket to display info for, or NULLfor all tickets | 
| [in] | details | If true (and outis not an XML format object), output any additional attributes set on a ticket beyond the basics | 
| [in] | raw | If true (and outis not an XML format object), simply list the IDs of all tickets. This does not make a lot of sense ifticket_idis not NULL, but that will not raise an error. | 
Definition at line 312 of file pcmk_ticket.c.
| 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.
| [in,out] | out | Output object | 
| [in] | cib | Open CIB connection | 
| [in,out] | scheduler | Scheduler data | 
| [in] | ticket_id | Ticket to remove attributes from | 
| [in] | attr_delete | A list of attribute names | 
| [in] | force | Attempting to remove the granted attribute of ticket_idwill cause this function to returnEACCESunlessforceis set totrue | 
Definition at line 369 of file pcmk_ticket.c.
| 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.
| [in,out] | out | Output object | 
| [in] | cib | Open CIB connection | 
| [in,out] | scheduler | Scheduler data | 
| [in] | ticket_id | Ticket to set attributes on | 
| [in] | attr_set | A hash table of attributes, where keys are the attribute names and the values are the attribute values | 
| [in] | force | Attempting to change the granted status of ticket_idwill cause this function to returnEACCESunlessforceis set totrue | 
ticket_id attribute exists but attr_set is non-NULL, the ticket will be created with the given attributes. Definition at line 441 of file pcmk_ticket.c.
| int pcmk__ticket_state | ( | pcmk__output_t * | out, | 
| cib_t * | cib, | ||
| const char * | ticket_id | ||
| ) | 
Definition at line 510 of file pcmk_ticket.c.
 1.8.14
 1.8.14