10 #ifndef PCMK__CRM_CIB_CIB_TYPES__H    11 #  define PCMK__CRM_CIB_CIB_TYPES__H    14 #  include <libxml/tree.h>          34 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)    37 #endif // !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)   137 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)   144 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)   177                                 void (*callback) (
const char *event,
   182                                 void (*callback) (
const char *event,
   186                                    void (*dnotify) (gpointer user_data));
   195     int (*
ping) (
cib_t *cib, xmlNode **output_data, 
int call_options);
   198     int (*
query) (
cib_t *cib, 
const char *section, xmlNode **output_data,
   202                        xmlNode **output_data, 
int call_options);
   216     int (*
sync) (
cib_t *cib, 
const char *section, 
int call_options);
   237     int (*
remove) (
cib_t *cib, 
const char *section, xmlNode *
data,
   239     int (*
erase) (
cib_t *cib, xmlNode **output_data, 
int call_options);
   251                                    gboolean only_success, 
void *user_data,
   252                                    const char *callback_name,
   253                                    void (*callback) (xmlNode*, int, int,
   256                                        gboolean only_success, 
void *user_data,
   257                                        const char *callback_name,
   258                                        void (*callback)(xmlNode *, int, int,
   260                                        void (*free_func)(
void *));
   300                      const char **sync_id);
   410 #endif // PCMK__CRM_CIB_CIB_TYPES__H 
gboolean(* register_callback)(cib_t *cib, int call_id, int timeout, gboolean only_success, void *user_data, const char *callback_name, void(*callback)(xmlNode *, int, int, xmlNode *, void *))
 
int(* delete_absolute)(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* signoff)(cib_t *cib)
 
gboolean(* register_callback_full)(cib_t *cib, int call_id, int timeout, gboolean only_success, void *user_data, const char *callback_name, void(*callback)(xmlNode *, int, int, xmlNode *, void *), void(*free_func)(void *))
 
int(* signon_raw)(cib_t *cib, const char *name, enum cib_conn_type type, int *event_fd)
 
int(* inputfd)(cib_t *cib)
 
enum crm_ais_msg_types type
 
int(* fetch_schemas)(cib_t *cib, xmlNode **output_data, const char *after_ver, int call_options)
 
int(* set_secondary)(cib_t *cib, int call_options)
Set the local CIB manager as a secondary instance. 
 
int(* set_op_callback)(cib_t *cib, void(*callback)(const xmlNode *msg, int callid, int rc, xmlNode *output))
 
int(* sync)(cib_t *cib, const char *section, int call_options)
 
int(* set_connection_dnotify)(cib_t *cib, void(*dnotify)(gpointer user_data))
 
int(* query_from)(cib_t *cib, const char *host, const char *section, xmlNode **output_data, int call_options)
 
cib_api_operations_t * cmds
 
int(* set_slave)(cib_t *cib, int call_options)
 
int(* signon)(cib_t *cib, const char *name, enum cib_conn_type type)
 
int(* quit)(cib_t *cib, int call_options)
 
int(* modify)(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
void(* op_callback)(const xmlNode *msg, int call_id, int rc, xmlNode *output)
 
int(* create)(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
Wrappers for and extensions to libxml2. 
 
int(* query)(cib_t *cib, const char *section, xmlNode **output_data, int call_options)
 
int(* is_master)(cib_t *cib)
 
int(* replace)(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* add_notify_callback)(cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))
 
int(* sync_from)(cib_t *cib, const char *host, const char *section, int call_options)
 
int(* register_notification)(cib_t *cib, const char *callback, int enabled)
 
int(* ping)(cib_t *cib, xmlNode **output_data, int call_options)
 
int(* update)(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* set_primary)(cib_t *cib, int call_options)
Set the local CIB manager as the cluster's primary instance. 
 
int(* noop)(cib_t *cib, int call_options)
 
int(* end_transaction)(cib_t *cib, bool commit, int call_options)
End and optionally commit this client's CIB transaction. 
 
int(* set_slave_all)(cib_t *cib, int call_options)
 
int(* del_notify_callback)(cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))
 
struct cib_api_operations_s cib_api_operations_t
 
int(* set_master)(cib_t *cib, int call_options)
 
IPC interface to Pacemaker daemons. 
 
void(* set_user)(cib_t *cib, const char *user)
Set the user as whom all CIB requests via methods will be executed. 
 
int(* bump_epoch)(cib_t *cib, int call_options)
 
int(* init_transaction)(cib_t *cib)
Initiate an atomic CIB transaction for this client. 
 
Treat new attribute values as atomic score updates where possible. 
 
int(* client_id)(const cib_t *cib, const char **async_id, const char **sync_id)
Get the given CIB connection's unique client identifier(s) 
 
int(* upgrade)(cib_t *cib, int call_options)
 
Process request when the client commits the active transaction. 
 
int(* erase)(cib_t *cib, xmlNode **output_data, int call_options)