corosync  2.3.5
Macros | Functions | Variables
main.h File Reference
#include <corosync/corotypes.h>
#include <corosync/hdb.h>
#include <qb/qbloop.h>
#include <corosync/totem/totempg.h>
#include <corosync/icmap.h>
#include <corosync/coroapi.h>
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TRUE   1
 
#define FALSE   0
 

Functions

int main_mcast (const struct iovec *iovec, unsigned int iov_len, unsigned int guarantee)
 
void message_source_set (mar_message_source_t *source, void *conn)
 
int message_source_is_local (const mar_message_source_t *source)
 
void corosync_shutdown_request (void)
 
void corosync_state_dump (void)
 
qb_loop_t * cs_poll_handle_get (void)
 
int cs_poll_dispatch_add (qb_loop_t *handle, int fd, int events, void *data, int(*dispatch_fn)(int fd, int revents, void *data))
 
int cs_poll_dispatch_delete (qb_loop_t *handle, int fd)
 
int corosync_sending_allowed (unsigned int service, unsigned int id, const void *msg, void *sending_allowed_private_data)
 
void corosync_sending_allowed_release (void *sending_allowed_private_data)
 
void corosync_recheck_the_q_level (void *data)
 
void cs_ipcs_init (void)
 
const char * cs_ipcs_service_init (struct corosync_service_engine *service)
 
void cs_ipcs_stats_update (void)
 
int32_t cs_ipcs_service_destroy (int32_t service_id)
 
int32_t cs_ipcs_q_level_get (void)
 
int cs_ipcs_dispatch_send (void *conn, const void *msg, size_t mlen)
 
int cs_ipcs_dispatch_iov_send (void *conn, const struct iovec *iov, unsigned int iov_len)
 
int cs_ipcs_response_send (void *conn, const void *msg, size_t mlen)
 
int cs_ipcs_response_iov_send (void *conn, const struct iovec *iov, unsigned int iov_len)
 
void cs_ipcs_sync_state_changed (int32_t sync_in_process)
 
void * cs_ipcs_private_data_get (void *conn)
 
void cs_ipc_refcnt_inc (void *conn)
 
void cs_ipc_refcnt_dec (void *conn)
 
void cs_ipc_allow_connections (int32_t allow)
 
int coroparse_configparse (icmap_map_t config_map, const char **error_string)
 

Variables

unsigned long long *(* main_clm_get_by_nodeid )(unsigned int node_id)
 

Detailed Description

Warning
DO NOT USE SYMBOLS IN THIS FILE

Definition in file main.h.

Macro Definition Documentation

#define FALSE   0

Definition at line 46 of file main.h.

#define TRUE   1

Definition at line 45 of file main.h.

Function Documentation

int coroparse_configparse ( icmap_map_t  config_map,
const char **  error_string 
)
void corosync_recheck_the_q_level ( void *  data)
int corosync_sending_allowed ( unsigned int  service,
unsigned int  id,
const void *  msg,
void *  sending_allowed_private_data 
)
void corosync_sending_allowed_release ( void *  sending_allowed_private_data)
void corosync_shutdown_request ( void  )
void corosync_state_dump ( void  )
void cs_ipc_allow_connections ( int32_t  allow)

Definition at line 155 of file ipc_glue.c.

void cs_ipc_refcnt_dec ( void *  conn)

Definition at line 372 of file ipc_glue.c.

void cs_ipc_refcnt_inc ( void *  conn)

Definition at line 367 of file ipc_glue.c.

int cs_ipcs_dispatch_iov_send ( void *  conn,
const struct iovec *  iov,
unsigned int  iov_len 
)
int cs_ipcs_dispatch_send ( void *  conn,
const void *  msg,
size_t  mlen 
)

Definition at line 555 of file ipc_glue.c.

void cs_ipcs_init ( void  )
void* cs_ipcs_private_data_get ( void *  conn)
int32_t cs_ipcs_q_level_get ( void  )
int cs_ipcs_response_iov_send ( void *  conn,
const struct iovec *  iov,
unsigned int  iov_len 
)

Definition at line 441 of file ipc_glue.c.

int cs_ipcs_response_send ( void *  conn,
const void *  msg,
size_t  mlen 
)
int32_t cs_ipcs_service_destroy ( int32_t  service_id)
const char* cs_ipcs_service_init ( struct corosync_service_engine service)
void cs_ipcs_stats_update ( void  )
void cs_ipcs_sync_state_changed ( int32_t  sync_in_process)

Definition at line 745 of file ipc_glue.c.

int cs_poll_dispatch_add ( qb_loop_t *  handle,
int  fd,
int  events,
void *  data,
int(*)(int fd, int revents, void *data)  dispatch_fn 
)

Definition at line 168 of file main.c.

int cs_poll_dispatch_delete ( qb_loop_t *  handle,
int  fd 
)

Definition at line 181 of file main.c.

qb_loop_t* cs_poll_handle_get ( void  )
int main_mcast ( const struct iovec *  iovec,
unsigned int  iov_len,
unsigned int  guarantee 
)
int message_source_is_local ( const mar_message_source_t source)

Definition at line 820 of file main.c.

References totempg_my_nodeid_get().

void message_source_set ( mar_message_source_t source,
void *  conn 
)

Definition at line 831 of file main.c.

References totempg_my_nodeid_get().

Variable Documentation

unsigned long long*(* main_clm_get_by_nodeid) (unsigned int node_id)