pacemaker  2.1.0-7c3f660
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 <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)
 
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 14 of file cib_native.c.

Typedef Documentation

typedef struct cib_native_opaque_s cib_native_opaque_t

Function Documentation

int cib_native_free ( cib_t cib)

Definition at line 278 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 299 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 307 of file cib_native.c.

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

Definition at line 460 of file cib_native.c.

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

Definition at line 444 of file cib_native.c.

int cib_native_signoff ( cib_t cib)

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