Compounds |
struct | ce_jops_t |
struct | ce_local_state_t |
struct | ce_view_id_t |
struct | ce_view_state_t |
Defines |
#define | CE_DEFAULT_PROTOCOL "Top:Heal:Switch:Leave:Inter:Intra:Elect:Merge:Slander:Sync:Suspect:Stable:Vsync:Frag_Abv:Top_appl:Frag:Pt2ptw:Mflow:Pt2pt:Mnak:Bottom" |
#define | CE_DEFAULT_PROPERTIES "Gmp:Sync:Heal:Switch:Frag:Suspect:Flow:Slander" |
#define | record_create(type, var) ((type)malloc(sizeof(*var))) |
#define | record_free(rec) free(rec) |
#define | record_clear(rec) memset(rec, 0, sizeof(*rec)) |
Typedefs |
typedef double | ce_float_t |
typedef int | ce_bool_t |
typedef int | ce_rank_t |
typedef int | ce_ltime_t |
typedef int | ce_len_t |
typedef void* | ce_env_t |
typedef double | ce_time_t |
typedef char* | ce_endpt_t |
typedef char* | ce_addr_t |
typedef char* | ce_data_t |
typedef ce_iovec_t* | ce_iovec_array_t |
typedef ce_endpt_t* | ce_endpt_array_t |
typedef ce_rank_t* | ce_rank_array_t |
typedef ce_addr_t* | ce_addr_array_t |
typedef struct ce_view_id_t | ce_view_id_t |
typedef ce_view_id_t** | ce_view_id_array_t |
typedef struct ce_view_state_t | ce_view_state_t |
typedef struct ce_local_state_t | ce_local_state_t |
typedef struct ce_jops_t | ce_jops_t |
typedef void (* | ce_appl_install_t )(ce_env_t, ce_local_state_t *, ce_view_state_t *) |
typedef void (* | ce_appl_exit_t )(ce_env_t) |
typedef void (* | ce_appl_receive_cast_t )(ce_env_t, ce_rank_t, int, ce_iovec_array_t) |
typedef void (* | ce_appl_receive_send_t )(ce_env_t, ce_rank_t, int, ce_iovec_array_t) |
typedef void (* | ce_appl_flow_block_t )(ce_env_t, ce_rank_t, ce_bool_t) |
typedef void (* | ce_appl_block_t )(ce_env_t) |
typedef void (* | ce_appl_heartbeat_t )(ce_env_t, ce_time_t) |
typedef struct ce_appl_intf_t | ce_appl_intf_t |
typedef int | CE_SOCKET |
typedef void (* | ce_handler_t )(void *) |
typedef void (* | ce_appl_flat_receive_cast_t )(ce_env_t, ce_rank_t, ce_len_t, ce_data_t) |
typedef void (* | ce_appl_flat_receive_send_t )(ce_env_t, ce_rank_t, ce_len_t, ce_data_t) |
Functions |
char* | ce_copy_string (char *str) |
void | ce_view_full_free (ce_local_state_t *ls, ce_view_state_t *vs) |
void | ce_jops_free (ce_jops_t *) |
ce_appl_intf_t* | ce_create_intf (ce_env_t env, ce_appl_exit_t exit, ce_appl_install_t install, ce_appl_flow_block_t flow_block, ce_appl_block_t block, ce_appl_receive_cast_t cast, ce_appl_receive_send_t send, ce_appl_heartbeat_t heartbeat) |
void | ce_Init (int argc, char **argv) |
void | ce_Main_loop () |
void | ce_Join (ce_jops_t *ops, ce_appl_intf_t *c_appl) |
void | ce_Leave (ce_appl_intf_t *c_appl) |
void | ce_Cast (ce_appl_intf_t *c_appl, int num, ce_iovec_array_t iovl) |
void | ce_Send (ce_appl_intf_t *c_appl, int num_dests, ce_rank_array_t dests, int num, ce_iovec_array_t iovl) |
void | ce_Send1 (ce_appl_intf_t *c_appl, ce_rank_t dest, int num, ce_iovec_array_t iovl) |
void | ce_Prompt (ce_appl_intf_t *c_appl) |
void | ce_Suspect (ce_appl_intf_t *c_appl, int num, ce_rank_array_t suspects) |
void | ce_XferDone (ce_appl_intf_t *c_appl) |
void | ce_Rekey (ce_appl_intf_t *c_appl) |
void | ce_ChangeProtocol (ce_appl_intf_t *c_appl, char *protocol_name) |
void | ce_ChangeProperties (ce_appl_intf_t *c_appl, char *properties) |
void | ce_MLPrintOverride (void(*handler)(char *msg)) |
void | ce_MLUncaughtException (void(*handler)(char *info)) |
void | ce_AddSockRecv (CE_SOCKET socket, ce_handler_t handler, ce_env_t env) |
void | ce_RmvSockRecv (CE_SOCKET socket) |
ce_appl_intf_t* | ce_create_flat_intf (ce_env_t env, ce_appl_exit_t exit, ce_appl_install_t install, ce_appl_flow_block_t flow_block, ce_appl_block_t block, ce_appl_flat_receive_cast_t cast, ce_appl_flat_receive_send_t send, ce_appl_heartbeat_t heartbeat) |
void | ce_flat_Cast (ce_appl_intf_t *c_appl, ce_len_t len, ce_data_t buf) |
void | ce_flat_Send (ce_appl_intf_t *c_appl, int num_dests, ce_rank_array_t dests, ce_len_t len, ce_data_t buf) |
void | ce_flat_Send1 (ce_appl_intf_t *c_appl, ce_rank_t dest, ce_len_t len, ce_data_t buf) |