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

Go to the source code of this file.

Macros

#define DH_BITS   1024
 

Typedefs

typedef void gnutls_session_t
 
typedef struct cib_remote_opaque_s cib_remote_opaque_t
 

Functions

void cib_remote_connection_destroy (gpointer user_data)
 
int cib_remote_callback_dispatch (gpointer user_data)
 
int cib_remote_command_dispatch (gpointer user_data)
 
int cib_remote_signon (cib_t *cib, const char *name, enum cib_conn_type type)
 
int cib_remote_signoff (cib_t *cib)
 
int cib_remote_free (cib_t *cib)
 
int cib_remote_perform_op (cib_t *cib, const char *op, const char *host, const char *section, xmlNode *data, xmlNode **output_data, int call_options, const char *name)
 
cib_tcib_remote_new (const char *server, const char *user, const char *passwd, int port, gboolean encrypted)
 

Macro Definition Documentation

#define DH_BITS   1024

Definition at line 60 of file cib_remote.c.

Typedef Documentation

typedef struct cib_remote_opaque_s cib_remote_opaque_t
typedef void gnutls_session_t

Definition at line 52 of file cib_remote.c.

Function Documentation

int cib_remote_callback_dispatch ( gpointer  user_data)

Definition at line 340 of file cib_remote.c.

int cib_remote_command_dispatch ( gpointer  user_data)

Definition at line 321 of file cib_remote.c.

void cib_remote_connection_destroy ( gpointer  user_data)

Definition at line 311 of file cib_remote.c.

int cib_remote_free ( cib_t cib)

Definition at line 462 of file cib_remote.c.

cib_t* cib_remote_new ( const char *  server,
const char *  user,
const char *  passwd,
int  port,
gboolean  encrypted 
)

Definition at line 115 of file cib_remote.c.

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

Definition at line 485 of file cib_remote.c.

int cib_remote_signoff ( cib_t cib)

Definition at line 444 of file cib_remote.c.

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

Definition at line 380 of file cib_remote.c.