pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Data Fields
cib_api_operations_s Struct Reference

#include <include/crm/cib/cib_types.h>

Data Fields

int(* signon )(cib_t *cib, const char *name, enum cib_conn_type type)
 
int(* signon_raw )(cib_t *cib, const char *name, enum cib_conn_type type, int *event_fd)
 
int(* signoff )(cib_t *cib)
 
int(* free )(cib_t *cib)
 
int(* set_op_callback )(cib_t *cib, void(*callback)(const xmlNode *msg, int callid, int rc, xmlNode *output))
 
int(* add_notify_callback )(cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))
 
int(* del_notify_callback )(cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))
 
int(* set_connection_dnotify )(cib_t *cib, void(*dnotify)(gpointer user_data))
 
int(* inputfd )(cib_t *cib)
 
int(* noop )(cib_t *cib, int call_options)
 
int(* ping )(cib_t *cib, xmlNode **output_data, int call_options)
 
int(* query )(cib_t *cib, const char *section, xmlNode **output_data, int call_options)
 
int(* query_from )(cib_t *cib, const char *host, const char *section, xmlNode **output_data, int call_options)
 
int(* is_master )(cib_t *cib)
 
int(* set_master )(cib_t *cib, int call_options)
 
int(* set_slave )(cib_t *cib, int call_options)
 
int(* set_slave_all )(cib_t *cib, int call_options)
 
int(* sync )(cib_t *cib, const char *section, int call_options)
 
int(* sync_from )(cib_t *cib, const char *host, const char *section, int call_options)
 
int(* upgrade )(cib_t *cib, int call_options)
 
int(* bump_epoch )(cib_t *cib, int call_options)
 
int(* create )(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* modify )(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* update )(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* replace )(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* remove )(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* erase )(cib_t *cib, xmlNode **output_data, int call_options)
 
int(* delete_absolute )(cib_t *cib, const char *section, xmlNode *data, int call_options)
 
int(* quit )(cib_t *cib, int call_options)
 
int(* register_notification )(cib_t *cib, const char *callback, int enabled)
 
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 *))
 
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 *))
 

Detailed Description

Definition at line 72 of file cib_types.h.

Field Documentation

◆ add_notify_callback

int(* cib_api_operations_s::add_notify_callback) (cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))

Definition at line 81 of file cib_types.h.

◆ bump_epoch

int(* cib_api_operations_s::bump_epoch) (cib_t *cib, int call_options)

Definition at line 104 of file cib_types.h.

◆ create

int(* cib_api_operations_s::create) (cib_t *cib, const char *section, xmlNode *data, int call_options)

Definition at line 105 of file cib_types.h.

◆ del_notify_callback

int(* cib_api_operations_s::del_notify_callback) (cib_t *cib, const char *event, void(*callback)(const char *event, xmlNode *msg))

Definition at line 84 of file cib_types.h.

◆ delete_absolute

int(* cib_api_operations_s::delete_absolute) (cib_t *cib, const char *section, xmlNode *data, int call_options)

Definition at line 116 of file cib_types.h.

◆ erase

int(* cib_api_operations_s::erase) (cib_t *cib, xmlNode **output_data, int call_options)

Definition at line 115 of file cib_types.h.

◆ free

int(* cib_api_operations_s::free) (cib_t *cib)

Definition at line 77 of file cib_types.h.

◆ inputfd

int(* cib_api_operations_s::inputfd) (cib_t *cib)

Definition at line 89 of file cib_types.h.

◆ is_master

int(* cib_api_operations_s::is_master) (cib_t *cib)

Definition at line 96 of file cib_types.h.

◆ modify

int(* cib_api_operations_s::modify) (cib_t *cib, const char *section, xmlNode *data, int call_options)

Definition at line 107 of file cib_types.h.

◆ noop

int(* cib_api_operations_s::noop) (cib_t *cib, int call_options)

Definition at line 90 of file cib_types.h.

◆ ping

int(* cib_api_operations_s::ping) (cib_t *cib, xmlNode **output_data, int call_options)

Definition at line 91 of file cib_types.h.

◆ query

int(* cib_api_operations_s::query) (cib_t *cib, const char *section, xmlNode **output_data, int call_options)

Definition at line 92 of file cib_types.h.

◆ query_from

int(* cib_api_operations_s::query_from) (cib_t *cib, const char *host, const char *section, xmlNode **output_data, int call_options)

Definition at line 94 of file cib_types.h.

◆ quit

int(* cib_api_operations_s::quit) (cib_t *cib, int call_options)

Definition at line 118 of file cib_types.h.

◆ register_callback

gboolean(* cib_api_operations_s::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 *))

Definition at line 121 of file cib_types.h.

◆ register_callback_full

gboolean(* cib_api_operations_s::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 *))

Definition at line 126 of file cib_types.h.

◆ register_notification

int(* cib_api_operations_s::register_notification) (cib_t *cib, const char *callback, int enabled)

Definition at line 119 of file cib_types.h.

◆ remove

int(* cib_api_operations_s::remove) (cib_t *cib, const char *section, xmlNode *data, int call_options)

Definition at line 113 of file cib_types.h.

◆ replace

int(* cib_api_operations_s::replace) (cib_t *cib, const char *section, xmlNode *data, int call_options)

Definition at line 111 of file cib_types.h.

◆ set_connection_dnotify

int(* cib_api_operations_s::set_connection_dnotify) (cib_t *cib, void(*dnotify)(gpointer user_data))

Definition at line 87 of file cib_types.h.

◆ set_master

int(* cib_api_operations_s::set_master) (cib_t *cib, int call_options)

Definition at line 97 of file cib_types.h.

◆ set_op_callback

int(* cib_api_operations_s::set_op_callback) (cib_t *cib, void(*callback)(const xmlNode *msg, int callid, int rc, xmlNode *output))

Definition at line 78 of file cib_types.h.

◆ set_slave

int(* cib_api_operations_s::set_slave) (cib_t *cib, int call_options)

Definition at line 98 of file cib_types.h.

◆ set_slave_all

int(* cib_api_operations_s::set_slave_all) (cib_t *cib, int call_options)

Definition at line 99 of file cib_types.h.

◆ signoff

int(* cib_api_operations_s::signoff) (cib_t *cib)

Definition at line 76 of file cib_types.h.

◆ signon

int(* cib_api_operations_s::signon) (cib_t *cib, const char *name, enum cib_conn_type type)

Definition at line 73 of file cib_types.h.

◆ signon_raw

int(* cib_api_operations_s::signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, int *event_fd)

Definition at line 74 of file cib_types.h.

◆ sync

int(* cib_api_operations_s::sync) (cib_t *cib, const char *section, int call_options)

Definition at line 100 of file cib_types.h.

◆ sync_from

int(* cib_api_operations_s::sync_from) (cib_t *cib, const char *host, const char *section, int call_options)

Definition at line 101 of file cib_types.h.

◆ update

int(* cib_api_operations_s::update) (cib_t *cib, const char *section, xmlNode *data, int call_options)

Definition at line 109 of file cib_types.h.

◆ upgrade

int(* cib_api_operations_s::upgrade) (cib_t *cib, int call_options)

Definition at line 103 of file cib_types.h.


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