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_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 <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 50 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 42 of file cib_remote.c.

Function Documentation

int cib_remote_callback_dispatch ( gpointer  user_data)

Definition at line 336 of file cib_remote.c.

int cib_remote_command_dispatch ( gpointer  user_data)

Definition at line 317 of file cib_remote.c.

void cib_remote_connection_destroy ( gpointer  user_data)

Definition at line 307 of file cib_remote.c.

int cib_remote_free ( cib_t cib)

Definition at line 458 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 105 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 481 of file cib_remote.c.

int cib_remote_signoff ( cib_t cib)

Definition at line 440 of file cib_remote.c.

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

Definition at line 376 of file cib_remote.c.