10 #ifndef PCMK__CRM_CIB_CIB_TYPES__H    11 #  define PCMK__CRM_CIB_CIB_TYPES__H    14 #  include <libxml/tree.h>          69 #endif // !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)   133                                 void (*callback) (
const char *event,
   138                                 void (*callback) (
const char *event,
   142                                    void (*dnotify) (gpointer user_data));
   148     int (*
ping) (
cib_t *cib, xmlNode **output_data, 
int call_options);
   151     int (*
query) (
cib_t *cib, 
const char *section, xmlNode **output_data,
   155                        xmlNode **output_data, 
int call_options);
   157     int (*
sync) (
cib_t *cib, 
const char *section, 
int call_options);
   174     int (*
remove) (
cib_t *cib, 
const char *section, xmlNode *
data,
   176     int (*
erase) (
cib_t *cib, xmlNode **output_data, 
int call_options);
   181                                    gboolean only_success, 
void *user_data,
   182                                    const char *callback_name,
   183                                    void (*callback) (xmlNode*, int, int,
   186                                        gboolean only_success, 
void *user_data,
   187                                        const char *callback_name,
   188                                        void (*callback)(xmlNode *, int, int,
   190                                        void (*free_func)(
void *));
   230                      const char **sync_id);
   336 #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 *))
 
enum pcmk_ipc_server type
 
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(* 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(* 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(* signon)(cib_t *cib, const char *name, enum cib_conn_type type)
 
int(* modify)(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
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(* 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))
 
#define PCMK_ALLOW_DEPRECATED
Allow use of deprecated Pacemaker APIs. 
 
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(* 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(* 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
 
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)