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);
113 int (*
remove) (
cib_t *cib,
const char *section, xmlNode *
data,
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
int(* query)(cib_t *cib, const char *section, xmlNode **output_data, int call_options)
int(* set_slave)(cib_t *cib, int call_options)
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(* inputfd)(cib_t *cib)
int(* signon_raw)(cib_t *cib, const char *name, enum cib_conn_type type, int *event_fd)
int(* noop)(cib_t *cib, int call_options)
int(* set_slave_all)(cib_t *cib, int call_options)
enum crm_ais_msg_types type
int(* replace)(cib_t *cib, const char *section, xmlNode *data, int call_options)
int(* set_connection_dnotify)(cib_t *cib, void(*dnotify)(gpointer user_data))
int(* update)(cib_t *cib, const char *section, xmlNode *data, int call_options)
int(* bump_epoch)(cib_t *cib, int call_options)
int(* modify)(cib_t *cib, const char *section, xmlNode *data, int call_options)
int(* upgrade)(cib_t *cib, int call_options)
cib_api_operations_t * cmds
int(* quit)(cib_t *cib, int call_options)
int(* ping)(cib_t *cib, xmlNode **output_data, int call_options)
void(* op_callback)(const xmlNode *msg, int call_id, int rc, xmlNode *output)
int(* register_notification)(cib_t *cib, const char *callback, int enabled)
int(* delete_absolute)(cib_t *cib, const char *section, xmlNode *data, int call_options)
int(* erase)(cib_t *cib, xmlNode **output_data, int call_options)
Wrappers for and extensions to libxml2.
int(* add_notify_callback)(cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))
int(* set_master)(cib_t *cib, int call_options)
int(* query_from)(cib_t *cib, const char *host, const char *section, xmlNode **output_data, int call_options)
int(* sync_from)(cib_t *cib, const char *host, const char *section, int call_options)
int(* sync)(cib_t *cib, const char *section, int call_options)
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 *))
struct cib_api_operations_s cib_api_operations_t
int(* signon)(cib_t *cib, const char *name, enum cib_conn_type type)
int(* is_master)(cib_t *cib)
IPC interface to Pacemaker daemons.
int(* create)(cib_t *cib, const char *section, xmlNode *data, int call_options)
int(* signoff)(cib_t *cib)
int(* set_op_callback)(cib_t *cib, void(*callback)(const xmlNode *msg, int callid, int rc, xmlNode *output))
int(* del_notify_callback)(cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))