31#ifndef EVENT_MACHINE_EO_H_
32#define EVENT_MACHINE_EO_H_
34#pragma GCC visibility push(default)
149 em_queue_t queue,
void *q_ctx);
188 em_event_t events[],
int num,
189 em_queue_t queue,
void *q_ctx);
752size_t em_eo_name(em_eo_t eo,
char *name,
size_t maxlen);
755#define em_eo_get_name em_eo_name
1003 int num_notif,
const em_notif_t notif_tbl[]);
1126#define em_eo_get_context em_eo_context
1138#define em_eo_get_state em_eo_state
1169#define em_eo_get_first em_eo_first
1185#define em_eo_get_next em_eo_next
1224#define em_eo_queue_get_first em_eo_queue_first
1240#define em_eo_queue_get_next em_eo_queue_next
1261#pragma GCC visibility pop
em_status_t em_eo_register_error_handler(em_eo_t eo, em_error_handler_t handler)
em_status_t em_eo_remove_queue_all_sync(em_eo_t eo, int delete_queues)
em_eo_t em_eo_first(unsigned int *num)
em_eo_t em_eo_current(void)
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)
em_status_t em_eo_remove_queue_all(em_eo_t eo, int delete_queues, int num_notif, const em_notif_t notif_tbl[])
size_t em_eo_name(em_eo_t eo, char *name, size_t maxlen)
em_status_t em_eo_remove_queue(em_eo_t eo, em_queue_t queue, int num_notif, const em_notif_t notif_tbl[])
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_status_t em_eo_stop(em_eo_t eo, int num_notif, const em_notif_t notif_tbl[])
em_status_t(* em_start_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)
em_status_t(* em_stop_func_t)(void *eo_ctx, em_eo_t eo)
em_status_t(* em_stop_local_func_t)(void *eo_ctx, em_eo_t eo)
em_eo_t em_eo_find(const char *name)
void em_eo_param_init(em_eo_param_t *param)
em_queue_t em_eo_queue_next(void)
em_queue_t em_eo_queue_first(unsigned int *num, 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)
void * em_eo_context(em_eo_t eo)
em_status_t em_eo_unregister_error_handler(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[])
void em_eo_multircv_param_init(em_eo_multircv_param_t *param)
em_status_t em_eo_add_queue_sync(em_eo_t eo, em_queue_t queue)
em_eo_state_t em_eo_state(em_eo_t eo)
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_stop_sync(em_eo_t eo)
uint64_t em_eo_to_u64(em_eo_t eo)
em_status_t em_eo_delete(em_eo_t eo)
em_status_t em_eo_remove_queue_sync(em_eo_t eo, em_queue_t queue)
em_eo_t em_eo_create_multircv(const char *name, const em_eo_multircv_param_t *param)
em_eo_t em_eo_create_param(const char *name, const em_eo_param_t *param)
void(* em_receive_multi_func_t)(void *eo_ctx, em_event_t events[], int num, em_queue_t queue, void *q_ctx)
@ EM_EO_START_LOCAL_MODE_INIT_NORUN
@ EM_EO_START_LOCAL_MODE_CONFIG_FILE
@ EM_EO_START_LOCAL_MODE_LAST
@ EM_EO_START_LOCAL_MODE_INIT_RUN
@ EM_EO_STOP_LOCAL_MODE_TERM_RUN
@ EM_EO_STOP_LOCAL_MODE_CONFIG_FILE
@ EM_EO_STOP_LOCAL_MODE_LAST
@ EM_EO_STOP_LOCAL_MODE_TERM_NORUN
em_status_t(* em_error_handler_t)(em_eo_t eo, em_status_t error, em_escope_t escope, va_list args)
em_start_local_func_t local_start
uint32_t __internal_check
em_eo_start_local_mode_t local_start_mode
em_receive_multi_func_t receive_multi
em_stop_local_func_t local_stop
em_eo_stop_local_mode_t local_stop_mode
em_eo_start_local_mode_t local_start_mode
em_stop_local_func_t local_stop
uint32_t __internal_check
em_eo_stop_local_mode_t local_stop_mode
em_start_local_func_t local_start
em_receive_func_t receive