| 
    pacemaker
    2.1.3-ea053b43a
    
   Scalable High-Availability cluster resource manager 
   | 
 
#include <crm_internal.h>#include <glib.h>#include <libxml/tree.h>#include <pacemaker.h>#include <pacemaker-internal.h>#include <crm/crm.h>#include <crm/cib.h>#include <crm/cib/internal.h>#include <crm/msg_xml.h>#include <crm/common/output_internal.h>#include <crm/common/xml.h>#include <crm/common/xml_internal.h>#include <crm/common/iso8601.h>#include <crm/common/ipc_controld.h>#include <crm/common/ipc_pacemakerd.h>#include <crm/common/mainloop.h>
Go to the source code of this file.
Macros | |
| #define | DEFAULT_MESSAGE_TIMEOUT_MS 30000 | 
Functions | |
| int | pcmk__controller_status (pcmk__output_t *out, char *dest_node, guint message_timeout_ms) | 
| int | pcmk_controller_status (xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms) | 
| Get controller status.  More... | |
| int | pcmk__designated_controller (pcmk__output_t *out, guint message_timeout_ms) | 
| int | pcmk_designated_controller (xmlNodePtr *xml, unsigned int message_timeout_ms) | 
| Get designated controller.  More... | |
| int | pcmk__pacemakerd_status (pcmk__output_t *out, char *ipc_name, guint message_timeout_ms) | 
| int | pcmk_pacemakerd_status (xmlNodePtr *xml, char *ipc_name, unsigned int message_timeout_ms) | 
| Get pacemakerd status.  More... | |
| int | pcmk__list_nodes (pcmk__output_t *out, char *node_types, gboolean BASH_EXPORT) | 
| int | pcmk_list_nodes (xmlNodePtr *xml, char *node_types) | 
| Get nodes list.  More... | |
| #define DEFAULT_MESSAGE_TIMEOUT_MS 30000 | 
Definition at line 30 of file pcmk_cluster_queries.c.
| int pcmk__controller_status | ( | pcmk__output_t * | out, | 
| char * | dest_node, | ||
| guint | message_timeout_ms | ||
| ) | 
Definition at line 272 of file pcmk_cluster_queries.c.
| int pcmk__designated_controller | ( | pcmk__output_t * | out, | 
| guint | message_timeout_ms | ||
| ) | 
Definition at line 317 of file pcmk_cluster_queries.c.
| int pcmk__list_nodes | ( | pcmk__output_t * | out, | 
| char * | node_types, | ||
| gboolean | BASH_EXPORT | ||
| ) | 
Definition at line 433 of file pcmk_cluster_queries.c.
| int pcmk__pacemakerd_status | ( | pcmk__output_t * | out, | 
| char * | ipc_name, | ||
| guint | message_timeout_ms | ||
| ) | 
Definition at line 362 of file pcmk_cluster_queries.c.
| int pcmk_controller_status | ( | xmlNodePtr * | xml, | 
| char * | dest_node, | ||
| unsigned int | message_timeout_ms | ||
| ) | 
Get controller status.
| [in,out] | xml | The destination for the result, as an XML tree. | 
| [in] | dest_node | Destination node for request | 
| [in] | message_timeout_ms | Message timeout | 
Definition at line 299 of file pcmk_cluster_queries.c.
| int pcmk_designated_controller | ( | xmlNodePtr * | xml, | 
| unsigned int | message_timeout_ms | ||
| ) | 
Get designated controller.
| [in,out] | xml | The destination for the result, as an XML tree. | 
| [in] | message_timeout_ms | Message timeout | 
Definition at line 344 of file pcmk_cluster_queries.c.
| int pcmk_list_nodes | ( | xmlNodePtr * | xml, | 
| char * | node_types | ||
| ) | 
Get nodes list.
| [in,out] | xml | The destination for the result, as an XML tree. | 
| [in] | node_types | Node type(s) to return (default: all) | 
Definition at line 487 of file pcmk_cluster_queries.c.
| int pcmk_pacemakerd_status | ( | xmlNodePtr * | xml, | 
| char * | ipc_name, | ||
| unsigned int | message_timeout_ms | ||
| ) | 
Get pacemakerd status.
| [in,out] | xml | The destination for the result, as an XML tree. | 
| [in] | ipc_name | IPC name for request | 
| [in] | message_timeout_ms | Message timeout | 
Definition at line 389 of file pcmk_cluster_queries.c.
 1.8.14