pacemaker  2.0.4-2deceaa
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_internal.h>
#include <crm/common/mainloop.h>
#include <crm/common/remote_internal.h>
#include <arpa/inet.h>
#include <sgtty.h>
Include dependency graph for cib_remote.c:

Go to the source code of this file.


#define DH_BITS   1024


typedef void gnutls_session_t
typedef struct cib_remote_opaque_s cib_remote_opaque_t


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 52 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 44 of file cib_remote.c.

Function Documentation

int cib_remote_callback_dispatch ( gpointer  user_data)

Definition at line 341 of file cib_remote.c.

int cib_remote_command_dispatch ( gpointer  user_data)

Definition at line 322 of file cib_remote.c.

void cib_remote_connection_destroy ( gpointer  user_data)

Definition at line 312 of file cib_remote.c.

int cib_remote_free ( cib_t cib)

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

int cib_remote_signoff ( cib_t cib)

Definition at line 445 of file cib_remote.c.

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

Definition at line 381 of file cib_remote.c.