pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
pcmk_controld_api_reply_t Struct Reference

#include <include/crm/common/ipc_controld.h>

Data Fields

enum pcmk_controld_api_reply reply_type
 
const char * feature_set
 CRM feature set advertised by controller. More...
 
const char * host_from
 Name of node that sent reply. More...
 
union {
   struct {
      bool   have_quorum
 
      bool   is_remote
 
      int   id
 
      const char *   uuid
 
      const char *   uname
 
      const char *   state
 
   }   node_info
 
   struct {
      xmlNode *   node_state
 
   }   resource
 
   struct {
      const char *   sys_from
 
      const char *   fsa_state
 
      const char *   result
 
   }   ping
 
   GList *   nodes
 
data
 

Detailed Description

Controller reply passed to event callback

Note
Shutdown and election calls have no reply. Reprobe calls are acknowledged but contain no data (reply_type will be the only item set). Node info and ping calls have their own reply data. Fail and refresh calls use the resource reply type and reply data.
The pointers in the reply are only guaranteed to be meaningful for the execution of the callback; if the values are needed for later, the callback should copy them.

Definition at line 57 of file ipc_controld.h.

Field Documentation

union { ... } pcmk_controld_api_reply_t::data
const char* pcmk_controld_api_reply_t::feature_set

CRM feature set advertised by controller.

Definition at line 59 of file ipc_controld.h.

const char* pcmk_controld_api_reply_t::fsa_state

Definition at line 81 of file ipc_controld.h.

bool pcmk_controld_api_reply_t::have_quorum

Definition at line 65 of file ipc_controld.h.

const char* pcmk_controld_api_reply_t::host_from

Name of node that sent reply.

Definition at line 60 of file ipc_controld.h.

int pcmk_controld_api_reply_t::id

Definition at line 67 of file ipc_controld.h.

bool pcmk_controld_api_reply_t::is_remote

Definition at line 66 of file ipc_controld.h.

struct { ... } pcmk_controld_api_reply_t::node_info
xmlNode* pcmk_controld_api_reply_t::node_state

Definition at line 75 of file ipc_controld.h.

GList* pcmk_controld_api_reply_t::nodes

Definition at line 86 of file ipc_controld.h.

struct { ... } pcmk_controld_api_reply_t::ping
enum pcmk_controld_api_reply pcmk_controld_api_reply_t::reply_type

Definition at line 58 of file ipc_controld.h.

struct { ... } pcmk_controld_api_reply_t::resource
const char* pcmk_controld_api_reply_t::result

Definition at line 82 of file ipc_controld.h.

const char* pcmk_controld_api_reply_t::state

Definition at line 70 of file ipc_controld.h.

const char* pcmk_controld_api_reply_t::sys_from

Definition at line 80 of file ipc_controld.h.

const char* pcmk_controld_api_reply_t::uname

Definition at line 69 of file ipc_controld.h.

const char* pcmk_controld_api_reply_t::uuid

Definition at line 68 of file ipc_controld.h.


The documentation for this struct was generated from the following file: