pacemaker
1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
|
Cluster Configuration. More...
Go to the source code of this file.
Data Structures | |
struct | cib_api_operations_s |
struct | cib_s |
Macros | |
#define | CIB_FEATURE_SET "2.0" |
#define | cib_default_options = cib_none |
#define | T_CIB_DIFF_NOTIFY "cib_diff_notify" |
#define | add_cib_op_callback(cib, id, flag, data, fn) |
#define | CIB_LIBRARY "libcib.so.4" |
Typedefs | |
typedef struct cib_s | cib_t |
typedef struct cib_api_operations_s | cib_api_operations_t |
Enumerations | |
enum | cib_variant { cib_undefined, cib_native, cib_file, cib_remote, cib_database } |
enum | cib_state { cib_connected_command, cib_connected_query, cib_disconnected } |
enum | cib_conn_type { cib_command, cib_query, cib_no_connection, cib_command_nonblocking } |
enum | cib_call_options { cib_none = 0x00000000, cib_verbose = 0x00000001, cib_xpath = 0x00000002, cib_multiple = 0x00000004, cib_can_create = 0x00000008, cib_discard_reply = 0x00000010, cib_no_children = 0x00000020, cib_xpath_address = 0x00000040, cib_mixed_update = 0x00000080, cib_scope_local = 0x00000100, cib_dryrun = 0x00000200, cib_sync_call = 0x00001000, cib_no_mtime = 0x00002000, cib_zero_copy = 0x00004000, cib_inhibit_notify = 0x00010000, cib_quorum_override = 0x00100000, cib_inhibit_bcast = 0x01000000, cib_force_diff = 0x10000000 } |
Functions | |
cib_t * | cib_new (void) |
cib_t * | cib_native_new (void) |
cib_t * | cib_file_new (const char *filename) |
cib_t * | cib_remote_new (const char *server, const char *user, const char *passwd, int port, gboolean encrypted) |
cib_t * | cib_new_no_shadow (void) |
char * | get_shadow_file (const char *name) |
cib_t * | cib_shadow_new (const char *name) |
void | cib_free_callbacks (cib_t *cib) |
Free all callbacks for a CIB connection. More... | |
void | cib_delete (cib_t *cib) |
Free all memory used by CIB connection. More... | |
void | cib_dump_pending_callbacks (void) |
int | num_cib_op_callbacks (void) |
void | remove_cib_op_callback (int call_id, gboolean all_callbacks) |
Cluster Configuration.
Definition in file cib.h.
typedef struct cib_api_operations_s cib_api_operations_t |
enum cib_call_options |
enum cib_conn_type |
enum cib_state |
enum cib_variant |
void cib_delete | ( | cib_t * | cib | ) |
Free all memory used by CIB connection.
[in] | cib | CIB connection to delete |
Definition at line 437 of file cib_client.c.
void cib_dump_pending_callbacks | ( | void | ) |
Definition at line 682 of file cib_client.c.
cib_t* cib_file_new | ( | const char * | filename | ) |
Definition at line 477 of file cib_file.c.
void cib_free_callbacks | ( | cib_t * | cib | ) |
Free all callbacks for a CIB connection.
[in] | cib | CIB connection to clean up |
Definition at line 415 of file cib_client.c.
cib_t* cib_native_new | ( | void | ) |
Definition at line 59 of file cib_native.c.
cib_t* cib_new | ( | void | ) |
Definition at line 301 of file cib_client.c.
cib_t* cib_new_no_shadow | ( | void | ) |
Definition at line 294 of file cib_client.c.
cib_t* cib_remote_new | ( | const char * | server, |
const char * | user, | ||
const char * | passwd, | ||
int | port, | ||
gboolean | encrypted | ||
) |
Definition at line 115 of file cib_remote.c.
cib_t* cib_shadow_new | ( | const char * | name | ) |
Definition at line 279 of file cib_client.c.
char* get_shadow_file | ( | const char * | name | ) |
Definition at line 219 of file cib_client.c.
int num_cib_op_callbacks | ( | void | ) |
Definition at line 664 of file cib_client.c.
void remove_cib_op_callback | ( | int | call_id, |
gboolean | all_callbacks | ||
) |
Definition at line 652 of file cib_client.c.