pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
cib_native.c File Reference
#include <crm_internal.h>
#include <bzlib.h>
#include <errno.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.

Macros

#define _GNU_SOURCE
 

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)
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 11 of file cib_native.c.

Typedef Documentation

typedef struct cib_native_opaque_s cib_native_opaque_t

Function Documentation

bool cib_native_dispatch ( cib_t cib)

Definition at line 131 of file cib_native.c.

int cib_native_free ( cib_t cib)

Definition at line 304 of file cib_native.c.

cib_t* cib_native_new ( void  )

Definition at line 56 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 325 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 333 of file cib_native.c.

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

Definition at line 490 of file cib_native.c.

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

Definition at line 474 of file cib_native.c.

int cib_native_signoff ( cib_t cib)

Definition at line 276 of file cib_native.c.

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

Definition at line 84 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 177 of file cib_native.c.