pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
|
Cluster Configuration. More...
#include <glib.h>
#include <crm/common/ipc.h>
#include <crm/common/xml.h>
#include <crm/cib/cib_types.h>
#include <crm/cib/util.h>
#include <crm/cib_compat.h>
Go to the source code of this file.
Macros | |
#define | CIB_FEATURE_SET "2.0" |
#define | CIB_LIBRARY "libcib.so.27" |
Functions | |
cib_t * | cib_new (void) |
Create a new CIB connection object. More... | |
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) |
Create a new CIB connection object, ignoring any active shadow CIB. More... | |
char * | get_shadow_file (const char *name) |
cib_t * | cib_shadow_new (const char *name) |
void | cib_free_notify (cib_t *cib) |
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.
void cib_delete | ( | cib_t * | cib | ) |
Free all memory used by CIB connection.
[in,out] | cib | CIB connection to delete |
Definition at line 791 of file cib_client.c.
void cib_dump_pending_callbacks | ( | void | ) |
Definition at line 829 of file cib_client.c.
cib_t* cib_file_new | ( | const char * | filename | ) |
Definition at line 648 of file cib_file.c.
void cib_free_callbacks | ( | cib_t * | cib | ) |
Free all callbacks for a CIB connection.
[in,out] | cib | CIB connection to clean up |
Definition at line 778 of file cib_client.c.
void cib_free_notify | ( | cib_t * | cib | ) |
Definition at line 756 of file cib_client.c.
cib_t* cib_native_new | ( | void | ) |
Definition at line 475 of file cib_native.c.
cib_t* cib_new | ( | void | ) |
Create a new CIB connection object.
Create a new live, remote, file, or shadow file CIB connection object based on the values of CIB-related environment variables (CIB_shadow, CIB_file, CIB_port, CIB_server, CIB_user, and CIB_passwd). The object will not be connected.
Definition at line 616 of file cib_client.c.
cib_t* cib_new_no_shadow | ( | void | ) |
Create a new CIB connection object, ignoring any active shadow CIB.
Create a new live, file, or remote CIB connection object based on the values of CIB-related environment variables (CIB_file, CIB_port, CIB_server, CIB_user, and CIB_passwd). The object will not be connected.
Definition at line 585 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 601 of file cib_remote.c.
cib_t* cib_shadow_new | ( | const char * | name | ) |
Definition at line 558 of file cib_client.c.
char* get_shadow_file | ( | const char * | name | ) |
Definition at line 498 of file cib_client.c.
int num_cib_op_callbacks | ( | void | ) |
Definition at line 811 of file cib_client.c.
void remove_cib_op_callback | ( | int | call_id, |
gboolean | all_callbacks | ||
) |
Definition at line 800 of file cib_client.c.