EM-ODP  3.7.0
Event Machine on ODP
event_machine_hooks.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  em_api_hooks_t
 
struct  em_idle_hooks_t
 

Typedefs

typedef void(* em_api_hook_alloc_t) (const em_event_t events[], int num_act, int num_req, uint32_t size, em_event_type_t type, em_pool_t pool)
 
typedef void(* em_api_hook_free_t) (const em_event_t events[], int num)
 
typedef void(* em_api_hook_send_t) (const em_event_t events[], int num, em_queue_t queue, em_event_group_t event_group)
 
typedef void(* em_idle_hook_to_idle_t) (uint64_t to_idle_delay_ns)
 
typedef void(* em_idle_hook_to_active_t) (void)
 
typedef void(* em_idle_hook_while_idle_t) (void)
 

Functions

em_status_t em_hooks_register_alloc (em_api_hook_alloc_t func)
 
em_status_t em_hooks_unregister_alloc (em_api_hook_alloc_t func)
 
em_status_t em_hooks_register_free (em_api_hook_free_t func)
 
em_status_t em_hooks_unregister_free (em_api_hook_free_t func)
 
em_status_t em_hooks_register_send (em_api_hook_send_t func)
 
em_status_t em_hooks_unregister_send (em_api_hook_send_t func)
 
em_status_t em_hooks_register_to_idle (em_idle_hook_to_idle_t func)
 
em_status_t em_hooks_unregister_to_idle (em_idle_hook_to_idle_t func)
 
em_status_t em_hooks_register_to_active (em_idle_hook_to_active_t func)
 
em_status_t em_hooks_unregister_to_active (em_idle_hook_to_active_t func)
 
em_status_t em_hooks_register_while_idle (em_idle_hook_while_idle_t func)
 
em_status_t em_hooks_unregister_while_idle (em_idle_hook_while_idle_t func)