24 # include <libxml/tree.h> 82 void (*callback) (
const char *event,
85 void (*callback) (
const char *event,
88 void (*dnotify) (gpointer user_data));
91 int (*
ping) (
cib_t *cib, xmlNode **output_data,
int call_options);
92 int (*
query) (
cib_t *cib,
const char *section, xmlNode **output_data,
95 xmlNode **output_data,
int call_options);
100 int (*
sync) (
cib_t *cib,
const char *section,
int call_options);
115 int (*
erase) (
cib_t *cib, xmlNode **output_data,
int call_options);
122 gboolean only_success,
void *user_data,
123 const char *callback_name,
124 void (*callback) (xmlNode*, int, int,
127 gboolean only_success,
void *user_data,
128 const char *callback_name,
129 void (*callback)(xmlNode *, int, int,
131 void (*free_func)(
void *));
154 #endif // 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)
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(* noop)(cib_t *cib, int call_options)
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.
int(* bump_epoch)(cib_t *cib, int call_options)
int(* remove)(cib_t *cib, const char *section, xmlNode *data, int call_options)
int(* upgrade)(cib_t *cib, int call_options)
int(* erase)(cib_t *cib, xmlNode **output_data, int call_options)
enum crm_ais_msg_types type