pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
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/ipc_internal.h>
#include <crm/common/mainloop.h>
#include <crm/common/remote_internal.h>
#include <crm/common/output_internal.h>
#include <arpa/inet.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)
 
void cib__set_output (cib_t *cib, pcmk__output_t *out)
 

Macro Definition Documentation

◆ DH_BITS

#define DH_BITS   1024

Definition at line 48 of file cib_remote.c.

Typedef Documentation

◆ cib_remote_opaque_t

typedef struct cib_remote_opaque_s cib_remote_opaque_t

◆ gnutls_session_t

typedef void gnutls_session_t

Definition at line 42 of file cib_remote.c.

Function Documentation

◆ cib__set_output()

void cib__set_output ( cib_t cib,
pcmk__output_t out 
)

Definition at line 615 of file cib_remote.c.

◆ cib_remote_callback_dispatch()

int cib_remote_callback_dispatch ( gpointer  user_data)

Definition at line 334 of file cib_remote.c.

◆ cib_remote_command_dispatch()

int cib_remote_command_dispatch ( gpointer  user_data)

Definition at line 315 of file cib_remote.c.

◆ cib_remote_connection_destroy()

void cib_remote_connection_destroy ( gpointer  user_data)

Definition at line 305 of file cib_remote.c.

◆ cib_remote_free()

int cib_remote_free ( cib_t cib)

Definition at line 443 of file cib_remote.c.

◆ cib_remote_new()

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

Definition at line 104 of file cib_remote.c.

◆ cib_remote_perform_op()

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

◆ cib_remote_signoff()

int cib_remote_signoff ( cib_t cib)

Definition at line 425 of file cib_remote.c.

◆ cib_remote_signon()

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

Definition at line 374 of file cib_remote.c.