pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cib.h File Reference

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 dependency graph for cib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define CIB_FEATURE_SET   "2.0"
#define T_CIB_DIFF_NOTIFY   "cib_diff_notify"
#define CIB_LIBRARY   ""


cib_tcib_new (void)
cib_tcib_native_new (void)
cib_tcib_file_new (const char *filename)
cib_tcib_remote_new (const char *server, const char *user, const char *passwd, int port, gboolean encrypted)
cib_tcib_new_no_shadow (void)
char * get_shadow_file (const char *name)
cib_tcib_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)

Detailed Description

Cluster Configuration.

Definition in file cib.h.

Macro Definition Documentation

#define CIB_FEATURE_SET   "2.0"

Definition at line 29 of file cib.h.

#define CIB_LIBRARY   ""

Definition at line 53 of file cib.h.

#define T_CIB_DIFF_NOTIFY   "cib_diff_notify"

Definition at line 33 of file cib.h.

Function Documentation

void cib_delete ( cib_t cib)

Free all memory used by CIB connection.

[in]cibCIB connection to delete

Definition at line 428 of file cib_client.c.

void cib_dump_pending_callbacks ( void  )

Definition at line 673 of file cib_client.c.

cib_t* cib_file_new ( const char *  filename)

Definition at line 472 of file cib_file.c.

void cib_free_callbacks ( cib_t cib)

Free all callbacks for a CIB connection.

[in]cibCIB connection to clean up

Definition at line 406 of file cib_client.c.

cib_t* cib_native_new ( void  )

Definition at line 58 of file cib_native.c.

cib_t* cib_new ( void  )

Definition at line 292 of file cib_client.c.

cib_t* cib_new_no_shadow ( void  )

Definition at line 285 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 107 of file cib_remote.c.

cib_t* cib_shadow_new ( const char *  name)

Definition at line 270 of file cib_client.c.

char* get_shadow_file ( const char *  name)

Definition at line 210 of file cib_client.c.

int num_cib_op_callbacks ( void  )

Definition at line 655 of file cib_client.c.

void remove_cib_op_callback ( int  call_id,
gboolean  all_callbacks 

Definition at line 643 of file cib_client.c.