pacemaker  1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
legacy.c File Reference
#include <crm_internal.h>
#include <crm/cluster/internal.h>
#include <bzlib.h>
#include <crm/common/ipc.h>
#include <crm/cluster.h>
#include <crm/common/mainloop.h>
#include <sys/utsname.h>
#include <sys/socket.h>
#include <netdb.h>
Include dependency graph for legacy.c:

Go to the source code of this file.

Functions

int plugin_dispatch (gpointer user_data)
 
bool send_plugin_text (int class, struct iovec *iov)
 
void terminate_cs_connection (crm_cluster_t *cluster)
 
void plugin_handle_membership (AIS_Message *msg)
 
gboolean init_cman_connection (gboolean(*dispatch)(unsigned long long, gboolean), void(*destroy)(gpointer))
 
enum cluster_type_e find_corosync_variant (void)
 
gboolean crm_is_corosync_peer_active (const crm_node_t *node)
 

Variables

int ais_membership_timer = 0
 
gboolean ais_membership_force = FALSE
 
int ais_fd_sync = -1
 
int ais_fd_async = -1
 
void * ais_ipc_ctx = NULL
 
hdb_handle_t ais_ipc_handle = 0
 

Function Documentation

gboolean crm_is_corosync_peer_active ( const crm_node_t node)

Definition at line 931 of file legacy.c.

enum cluster_type_e find_corosync_variant ( void  )

Definition at line 877 of file legacy.c.

gboolean init_cman_connection ( gboolean(*)(unsigned long long, gboolean)  dispatch,
void(*)(gpointer)  destroy 
)

Definition at line 435 of file legacy.c.

int plugin_dispatch ( gpointer  user_data)

Definition at line 290 of file legacy.c.

void plugin_handle_membership ( AIS_Message msg)

Definition at line 222 of file legacy.c.

bool send_plugin_text ( int  class,
struct iovec *  iov 
)

Definition at line 135 of file legacy.c.

void terminate_cs_connection ( crm_cluster_t cluster)

Definition at line 186 of file legacy.c.

Variable Documentation

int ais_fd_async = -1

Definition at line 50 of file legacy.c.

int ais_fd_sync = -1

Definition at line 49 of file legacy.c.

void* ais_ipc_ctx = NULL

Definition at line 51 of file legacy.c.

hdb_handle_t ais_ipc_handle = 0

Definition at line 53 of file legacy.c.

gboolean ais_membership_force = FALSE

Definition at line 46 of file legacy.c.

int ais_membership_timer = 0

Definition at line 45 of file legacy.c.