pacemaker  1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
cib_native.c File Reference
#include <crm_internal.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/cib/internal.h>
#include <crm/msg_xml.h>
#include <crm/common/mainloop.h>
Include dependency graph for cib_native.c:

Go to the source code of this file.

Typedefs

typedef struct cib_native_opaque_s cib_native_opaque_t
 

Functions

int cib_native_perform_op (cib_t *cib, const char *op, const char *host, const char *section, xmlNode *data, xmlNode **output_data, int call_options)
 
int cib_native_perform_op_delegate (cib_t *cib, const char *op, const char *host, const char *section, xmlNode *data, xmlNode **output_data, int call_options, const char *user_name)
 
int cib_native_free (cib_t *cib)
 
int cib_native_signoff (cib_t *cib)
 
int cib_native_signon (cib_t *cib, const char *name, enum cib_conn_type type)
 
int cib_native_signon_raw (cib_t *cib, const char *name, enum cib_conn_type type, int *event_fd)
 
bool cib_native_dispatch (cib_t *cib)
 
int cib_native_set_connection_dnotify (cib_t *cib, void(*dnotify)(gpointer user_data))
 
cib_tcib_native_new (void)
 
int cib_native_register_notification (cib_t *cib, const char *callback, int enabled)
 

Typedef Documentation

typedef struct cib_native_opaque_s cib_native_opaque_t

Function Documentation

bool cib_native_dispatch ( cib_t cib)

Definition at line 134 of file cib_native.c.

int cib_native_free ( cib_t cib)

Definition at line 307 of file cib_native.c.

cib_t* cib_native_new ( void  )

Definition at line 59 of file cib_native.c.

int cib_native_perform_op ( cib_t cib,
const char *  op,
const char *  host,
const char *  section,
xmlNode *  data,
xmlNode **  output_data,
int  call_options 
)

Definition at line 328 of file cib_native.c.

int cib_native_perform_op_delegate ( cib_t cib,
const char *  op,
const char *  host,
const char *  section,
xmlNode *  data,
xmlNode **  output_data,
int  call_options,
const char *  user_name 
)

Definition at line 336 of file cib_native.c.

int cib_native_register_notification ( cib_t cib,
const char *  callback,
int  enabled 
)

Definition at line 493 of file cib_native.c.

int cib_native_set_connection_dnotify ( cib_t cib,
void(*)(gpointer user_data)  dnotify 
)

Definition at line 477 of file cib_native.c.

int cib_native_signoff ( cib_t cib)

Definition at line 279 of file cib_native.c.

int cib_native_signon ( cib_t cib,
const char *  name,
enum cib_conn_type  type 
)

Definition at line 87 of file cib_native.c.

int cib_native_signon_raw ( cib_t cib,
const char *  name,
enum cib_conn_type  type,
int *  event_fd 
)

Definition at line 180 of file cib_native.c.