pacemaker  2.1.1-52dc28db4
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 50 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 45 of file cib_remote.c.

Function Documentation

◆ cib__set_output()

void cib__set_output ( cib_t cib,
pcmk__output_t out 
)

Definition at line 616 of file cib_remote.c.

◆ cib_remote_callback_dispatch()

int cib_remote_callback_dispatch ( gpointer  user_data)

Definition at line 335 of file cib_remote.c.

◆ cib_remote_command_dispatch()

int cib_remote_command_dispatch ( gpointer  user_data)

Definition at line 316 of file cib_remote.c.

◆ cib_remote_connection_destroy()

void cib_remote_connection_destroy ( gpointer  user_data)

Definition at line 306 of file cib_remote.c.

◆ cib_remote_free()

int cib_remote_free ( cib_t cib)

Definition at line 444 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 106 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 467 of file cib_remote.c.

◆ cib_remote_signoff()

int cib_remote_signoff ( cib_t cib)

Definition at line 426 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 375 of file cib_remote.c.