34 #ifndef COROAPI_H_DEFINED 35 #define COROAPI_H_DEFINED 44 #include <qb/qbloop.h> 70 #ifndef TIMER_HANDLE_T 75 #define TIMER_HANDLE_T 1 86 #define TOTEMIP_ADDRLEN (sizeof(struct in6_addr)) 88 #define INTERFACE_MAX 8 90 #ifndef MESSAGE_QUEUE_MAX 91 #ifdef HAVE_SMALL_MEMORY_FOOTPRINT 92 #define PROCESSOR_COUNT_MAX 16 93 #define MESSAGE_SIZE_MAX 1024*64 94 #define MESSAGE_QUEUE_MAX 512 96 #define PROCESSOR_COUNT_MAX 384 97 #define MESSAGE_SIZE_MAX 1024*1024 98 #define MESSAGE_QUEUE_MAX ((4 * MESSAGE_SIZE_MAX) / totem_config->net_mtu) 102 #define TOTEM_AGREED 0 105 #define MILLI_2_NANO_SECONDS 1000000ULL 107 #if !defined(TOTEM_IP_ADDRESS) 118 #if !defined(MEMB_RING_ID) 128 #if !defined(TOTEM_CONFIGURATION_TYPE) 138 #if !defined(TOTEM_CALLBACK_TOKEN_TYPE) 155 #define corosync_lib_flow_control cs_lib_flow_control 156 #define COROSYNC_LIB_FLOW_CONTROL_REQUIRED CS_LIB_FLOW_CONTROL_REQUIRED 157 #define COROSYNC_LIB_FLOW_CONTROL_NOT_REQUIRED CS_LIB_FLOW_CONTROL_NOT_REQUIRED 167 #if !defined (COROSYNC_FLOW_CONTROL_STATE) 175 #define corosync_flow_control_state cs_flow_control_state 176 #define CS_FLOW_CONTROL_STATE_DISABLED CS_FLOW_CONTROL_STATE_DISABLED 177 #define CS_FLOW_CONTROL_STATE_ENABLED CS_FLOW_CONTROL_STATE_ENABLED 193 #define corosync_fatal_error_t cs_fatal_error_t; 195 #ifndef QUORUM_H_DEFINED 205 int (*quorate) (void);
214 const unsigned int *view_list,
215 size_t view_list_entries,
216 int primary_designated,
229 int (*timer_add_duration) (
230 unsigned long long nanoseconds_in_future,
232 void (*timer_nf) (
void *
data),
235 int (*timer_add_absolute) (
236 unsigned long long nanoseconds_from_epoch,
238 void (*timer_fn) (
void *
data),
241 void (*timer_delete) (
244 unsigned long long (*timer_time_get) (void);
246 unsigned long long (*timer_expire_time_get) (
256 void *(*ipc_private_data_get) (
void *conn);
258 int (*ipc_response_send) (
void *conn,
const void *msg,
size_t mlen);
#ifn" rel="stylesheet" type="text/css" />
248 <="l00249">totem_logging_configuration< name="l00252">#ifn" rel="stylesheet" type="text/css" />
coroapi.h.
<0035">35 of file
config.h.