![]() |
EM-ODP 4.4.0
Event Machine on ODP
|
Event user area information filled by em_event_uarea_info() More...
#include <event_machine_event.h>
Data Fields | ||
| void * | uarea | |
| size_t | size | |
| struct { | ||
| bool isset | ||
| uint16_t value | ||
| } | id | |
Event user area information filled by em_event_uarea_info()
Output structure for obtaining information about an event's user area. Information related to the user area will be filled into this struct by the em_event_uarea_info() API function.
A user area is only present if the EM pool the event was allocated from was created with user area size > 0, see em_pool_cfg_t and em_pool_create(). The user area ID can always be used (set/get), even when the size of the user area is zero(0).
Definition at line 1058 of file event_machine_event.h.
| struct { ... } em_event_uarea_info_t::id |
Event user area ID (ID can be set/get even when no uarea present)
| bool em_event_uarea_info_t::isset |
Boolean: has the ID been set previously? true/false
Definition at line 1067 of file event_machine_event.h.
| size_t em_event_uarea_info_t::size |
Size of the event user area, zero(0) if event has no user area
Definition at line 1062 of file event_machine_event.h.
| void* em_event_uarea_info_t::uarea |
Pointer to the event user area, NULL if event has no user area
Definition at line 1060 of file event_machine_event.h.
| uint16_t em_event_uarea_info_t::value |
Value of the user area ID, if (and only if) set before. Only inspect '.id.value' when '.id.isset=true' indicating that ID has been set earlier by em_event_uarea_id_set().
Definition at line 1072 of file event_machine_event.h.