pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <pwd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/cib/internal.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
Go to the source code of this file.
Macros | |
#define | op_common(cib) |
Functions | |
char * | get_shadow_file (const char *suffix) |
cib_t * | cib_shadow_new (const char *shadow) |
cib_t * | cib_new_no_shadow (void) |
Create a new CIB connection object, ignoring any active shadow CIB. More... | |
cib_t * | cib_new (void) |
Create a new CIB connection object. More... | |
cib_t * | cib_new_variant (void) |
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 | remove_cib_op_callback (int call_id, gboolean all_callbacks) |
int | num_cib_op_callbacks (void) |
void | cib_dump_pending_callbacks (void) |
cib_callback_client_t * | cib__lookup_id (int call_id) |
#define op_common | ( | cib | ) |
Definition at line 30 of file cib_client.c.
cib_callback_client_t* cib__lookup_id | ( | int | call_id | ) |
Definition at line 825 of file cib_client.c.
void cib_delete | ( | cib_t * | cib | ) |
Free all memory used by CIB connection.
[in,out] | cib | CIB connection to delete |
Definition at line 778 of file cib_client.c.
void cib_dump_pending_callbacks | ( | void | ) |
Definition at line 816 of file cib_client.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 765 of file cib_client.c.
void cib_free_notify | ( | cib_t * | cib | ) |
Definition at line 743 of file cib_client.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 605 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 574 of file cib_client.c.
cib_t* cib_new_variant | ( | void | ) |
Definition at line 665 of file cib_client.c.
cib_t* cib_shadow_new | ( | const char * | shadow | ) |
Definition at line 547 of file cib_client.c.
char* get_shadow_file | ( | const char * | suffix | ) |
Definition at line 487 of file cib_client.c.
int num_cib_op_callbacks | ( | void | ) |
Definition at line 798 of file cib_client.c.
void remove_cib_op_callback | ( | int | call_id, |
gboolean | all_callbacks | ||
) |
Definition at line 787 of file cib_client.c.