#include <config.h>
#include <stdio.h>
#include <corosync/hdb.h>
#include <qb/qbloop.h>
#include <corosync/swab.h>
Go to the source code of this file.
|
| enum | totem_configuration_type { TOTEM_CONFIGURATION_REGULAR
, TOTEM_CONFIGURATION_TRANSITIONAL
, TOTEM_CONFIGURATION_REGULAR
, TOTEM_CONFIGURATION_TRANSITIONAL
} |
| | The totem_configuration_type enum. More...
|
| |
| enum | totem_callback_token_type { TOTEM_CALLBACK_TOKEN_RECEIVED = 1
, TOTEM_CALLBACK_TOKEN_SENT = 2
, TOTEM_CALLBACK_TOKEN_RECEIVED = 1
, TOTEM_CALLBACK_TOKEN_SENT = 2
} |
| | The totem_callback_token_type enum. More...
|
| |
| enum | cs_lib_flow_control { CS_LIB_FLOW_CONTROL_REQUIRED = 1
, CS_LIB_FLOW_CONTROL_NOT_REQUIRED = 2
} |
| | The cs_lib_flow_control enum. More...
|
| |
| enum | cs_lib_allow_inquorate { CS_LIB_DISALLOW_INQUORATE = 0
, CS_LIB_ALLOW_INQUORATE = 1
} |
| | The cs_lib_allow_inquorate enum. More...
|
| |
| enum | cs_flow_control_state { CS_FLOW_CONTROL_STATE_DISABLED
, CS_FLOW_CONTROL_STATE_ENABLED
} |
| | The cs_flow_control_state enum. More...
|
| |
| enum | cs_fatal_error_t {
COROSYNC_FATAL_ERROR_EXIT = -1
, COROSYNC_LIBAIS_SOCKET = -6
, COROSYNC_LIBAIS_BIND = -7
, COROSYNC_READKEY = -8
,
COROSYNC_INVALID_CONFIG = -9
, COROSYNC_DYNAMICLOAD = -12
, COROSYNC_OUT_OF_MEMORY = -15
, COROSYNC_FATAL_ERR = -16
} |
| | The cs_fatal_error_t enum. More...
|
| |
◆ corosync_fatal_error
| #define corosync_fatal_error |
( |
|
err | ) |
api->fatal_error ((err), __FILE__, __LINE__) |
◆ corosync_fatal_error_t
◆ corosync_flow_control_state
◆ corosync_lib_flow_control
◆ COROSYNC_LIB_FLOW_CONTROL_NOT_REQUIRED
◆ COROSYNC_LIB_FLOW_CONTROL_REQUIRED
◆ CS_FLOW_CONTROL_STATE_DISABLED
| #define CS_FLOW_CONTROL_STATE_DISABLED CS_FLOW_CONTROL_STATE_DISABLED |
◆ CS_FLOW_CONTROL_STATE_ENABLED
| #define CS_FLOW_CONTROL_STATE_ENABLED CS_FLOW_CONTROL_STATE_ENABLED |
◆ INTERFACE_MAX
◆ MESSAGE_QUEUE_MAX
◆ MESSAGE_SIZE_MAX
| #define MESSAGE_SIZE_MAX 1024*1024 |
◆ MILLI_2_NANO_SECONDS
| #define MILLI_2_NANO_SECONDS 1000000ULL |
◆ PROCESSOR_COUNT_MAX
| #define PROCESSOR_COUNT_MAX 384 |
◆ SERVICE_HANDLER_MAXIMUM_COUNT
| #define SERVICE_HANDLER_MAXIMUM_COUNT 64 |
◆ SERVICE_ID_MAKE
| #define SERVICE_ID_MAKE |
( |
|
a, |
|
|
|
b |
|
) |
| ( ((a)<<16) | (b) ) |
◆ SERVICES_COUNT_MAX
| #define SERVICES_COUNT_MAX 64 |
◆ TIMER_HANDLE_T
◆ TOTEM_AGREED
◆ TOTEM_SAFE
◆ TOTEMIP_ADDRLEN
| #define TOTEMIP_ADDRLEN (sizeof(struct in6_addr)) |
◆ corosync_timer_handle_t
corosync_timer_handle_t
Definition at line 74 of file coroapi.h.
◆ quorum_callback_fn_t
| typedef void(* quorum_callback_fn_t) (int quorate, void *context) |
The quorum_callback_fn_t callback.
Definition at line 199 of file coroapi.h.
◆ sync_callback_fn_t
| typedef void(* sync_callback_fn_t) (const unsigned int *view_list, size_t view_list_entries, int primary_designated, struct memb_ring_id *ring_id) |
The sync_callback_fn_t callback.
Definition at line 213 of file coroapi.h.
◆ cs_fatal_error_t
The cs_fatal_error_t enum.
| Enumerator |
|---|
| COROSYNC_FATAL_ERROR_EXIT | |
| COROSYNC_LIBAIS_SOCKET | |
| COROSYNC_LIBAIS_BIND | |
| COROSYNC_READKEY | |
| COROSYNC_INVALID_CONFIG | |
| COROSYNC_DYNAMICLOAD | |
| COROSYNC_OUT_OF_MEMORY | |
| COROSYNC_FATAL_ERR | |
Definition at line 183 of file coroapi.h.
◆ cs_flow_control_state
The cs_flow_control_state enum.
| Enumerator |
|---|
| CS_FLOW_CONTROL_STATE_DISABLED | |
| CS_FLOW_CONTROL_STATE_ENABLED | |
Definition at line 171 of file coroapi.h.
◆ cs_lib_allow_inquorate
The cs_lib_allow_inquorate enum.
| Enumerator |
|---|
| CS_LIB_DISALLOW_INQUORATE | |
| CS_LIB_ALLOW_INQUORATE | |
Definition at line 162 of file coroapi.h.
◆ cs_lib_flow_control
The cs_lib_flow_control enum.
| Enumerator |
|---|
| CS_LIB_FLOW_CONTROL_REQUIRED | |
| CS_LIB_FLOW_CONTROL_NOT_REQUIRED | |
Definition at line 151 of file coroapi.h.
◆ totem_callback_token_type
The totem_callback_token_type enum.
| Enumerator |
|---|
| TOTEM_CALLBACK_TOKEN_RECEIVED | |
| TOTEM_CALLBACK_TOKEN_SENT | |
| TOTEM_CALLBACK_TOKEN_RECEIVED | |
| TOTEM_CALLBACK_TOKEN_SENT | |
Definition at line 142 of file coroapi.h.
◆ totem_configuration_type
The totem_configuration_type enum.
| Enumerator |
|---|
| TOTEM_CONFIGURATION_REGULAR | |
| TOTEM_CONFIGURATION_TRANSITIONAL | |
| TOTEM_CONFIGURATION_REGULAR | |
| TOTEM_CONFIGURATION_TRANSITIONAL | |
Definition at line 132 of file coroapi.h.
◆ __attribute__()
◆ __attribute__
◆ addr
◆ family
◆ nodeid
Definition at line 0 of file coroapi.h.
Referenced by stats_knet_add_member(), stats_knet_del_member(), stats_map_get(), totemknet_nodestatus_get(), totemknet_token_target_set(), totemnet_nodestatus_get(), totemnet_token_target_set(), totempg_ifaces_print(), totemsrp_ifaces_get(), totemsrp_nodestatus_get(), totemudp_nodestatus_get(), totemudp_token_target_set(), totemudpu_nodestatus_get(), and totemudpu_token_target_set().
◆ seq