|
EM-ODP
3.7.0
Event Machine on ODP
|
Go to the documentation of this file.
31 #ifndef EVENT_MACHINE_EO_H_
32 #define EVENT_MACHINE_EO_H_
34 #pragma GCC visibility push(default)
151 em_queue_t queue,
void *q_ctx);
190 em_event_t events[],
int num,
191 em_queue_t queue,
void *q_ctx);
981 #pragma GCC visibility pop
em_status_t em_eo_remove_queue_sync(em_eo_t eo, em_queue_t queue)
em_status_t em_eo_start(em_eo_t eo, em_status_t *result, const em_eo_conf_t *conf, int num_notif, const em_notif_t notif_tbl[])
em_stop_local_func_t local_stop
em_status_t em_eo_remove_queue(em_eo_t eo, em_queue_t queue, int num_notif, const em_notif_t notif_tbl[])
size_t em_eo_get_name(em_eo_t eo, char *name, size_t maxlen)
em_status_t(* em_stop_func_t)(void *eo_ctx, em_eo_t eo)
void * em_eo_get_context(em_eo_t eo)
em_status_t em_eo_add_queue_sync(em_eo_t eo, em_queue_t queue)
em_status_t em_eo_unregister_error_handler(em_eo_t eo)
em_start_local_func_t local_start
em_eo_t em_eo_current(void)
em_status_t em_eo_remove_queue_all_sync(em_eo_t eo, int delete_queues)
em_eo_t em_eo_get_next(void)
em_status_t(* em_start_func_t)(void *eo_ctx, em_eo_t eo, const em_eo_conf_t *conf)
em_status_t em_eo_delete(em_eo_t eo)
em_status_t em_eo_register_error_handler(em_eo_t eo, em_error_handler_t handler)
em_status_t(* em_start_local_func_t)(void *eo_ctx, em_eo_t eo)
em_status_t em_eo_start_sync(em_eo_t eo, em_status_t *result, const em_eo_conf_t *conf)
em_status_t(* em_error_handler_t)(em_eo_t eo, em_status_t error, em_escope_t escope, va_list args)
em_status_t em_eo_stop(em_eo_t eo, int num_notif, const em_notif_t notif_tbl[])
void(* em_receive_multi_func_t)(void *eo_ctx, em_event_t events[], int num, em_queue_t queue, void *q_ctx)
em_receive_multi_func_t receive_multi
em_status_t(* em_stop_local_func_t)(void *eo_ctx, em_eo_t eo)
void(* em_receive_func_t)(void *eo_ctx, em_event_t event, em_event_type_t type, em_queue_t queue, void *q_ctx)
uint64_t em_eo_to_u64(em_eo_t eo)
em_eo_t em_eo_create(const char *name, em_start_func_t start, em_start_local_func_t local_start, em_stop_func_t stop, em_stop_local_func_t local_stop, em_receive_func_t receive, const void *eo_ctx)
void em_eo_multircv_param_init(em_eo_multircv_param_t *param)
em_queue_t em_eo_queue_get_first(unsigned int *num, em_eo_t eo)
em_queue_t em_eo_queue_get_next(void)
em_status_t em_eo_stop_sync(em_eo_t eo)
em_status_t em_eo_add_queue(em_eo_t eo, em_queue_t queue, int num_notif, const em_notif_t notif_tbl[])
uint32_t __internal_check
em_eo_state_t em_eo_get_state(em_eo_t eo)
em_eo_t em_eo_get_first(unsigned int *num)
em_eo_t em_eo_find(const char *name)
em_status_t em_eo_remove_queue_all(em_eo_t eo, int delete_queues, int num_notif, const em_notif_t notif_tbl[])
em_eo_t em_eo_create_multircv(const char *name, const em_eo_multircv_param_t *param)