623 #ifndef LEGATO_EVENTLOOP_INCLUDE_GUARD
624 #define LEGATO_EVENTLOOP_INCLUDE_GUARD
657 #define LE_CI_LINKAGE extern "C"
659 #define LE_CI_LINKAGE
663 #ifndef COMPONENT_INIT
664 #define COMPONENT_INIT LE_CI_LINKAGE void _le_event_InitializeComponent(void)
668 #define LE_EVENT_INIT_HANDLER COMPONENT_INIT
701 void* secondLayerFunc
782 #define LE_EVENT_NUM_FD_EVENT_TYPES 6
862 void* secondLayerFunc
1093 __attribute__ ((noreturn));
1136 #endif // LEGATO_EVENTLOOP_INCLUDE_GUARD
struct le_thread * le_thread_Ref_t
Definition: le_thread.h:156
struct le_event_FdMonitor * le_event_FdMonitorRef_t
Definition: le_eventLoop.h:741
void le_event_ClearFdHandlerByEventType(le_event_FdMonitorRef_t monitorRef, le_event_FdEventType_t eventType)
void le_event_ReportWithRefCounting(le_event_Id_t eventId, void *objectPtr)
Data is available for reading.
Definition: le_eventLoop.h:773
le_event_FdHandlerRef_t le_event_SetFdHandler(le_event_FdMonitorRef_t monitorRef, le_event_FdEventType_t eventType, le_event_FdHandlerFunc_t handlerFunc)
le_result_t
Definition: le_basics.h:34
Far end shutdown their writing while we were still reading.
Definition: le_eventLoop.h:777
void(* le_event_HandlerFunc_t)(void *reportPtr)
Definition: le_eventLoop.h:681
void le_event_RunLoop(void)
struct le_event_FdHandler * le_event_FdHandlerRef_t
Definition: le_eventLoop.h:763
struct le_event_Id * le_event_Id_t
Definition: le_eventLoop.h:635
le_event_FdEventType_t
Definition: le_eventLoop.h:771
le_result_t le_event_ServiceLoop(void)
void le_event_DeleteFdMonitor(le_event_FdMonitorRef_t monitorRef)
le_event_Id_t le_event_CreateIdWithRefCounting(const char *name)
Far end shutdown their reading while we were still writing.
Definition: le_eventLoop.h:776
void le_event_Report(le_event_Id_t eventId, void *payloadPtr, size_t payloadSize)
void(* le_event_DeferredFunc_t)(void *param1Ptr, void *param2Ptr)
Definition: le_eventLoop.h:728
le_event_FdMonitorRef_t le_event_CreateFdMonitor(const char *name, int fd)
void le_event_SetContextPtr(le_event_HandlerRef_t handlerRef, void *contextPtr)
le_event_HandlerRef_t le_event_AddLayeredHandler(const char *name, le_event_Id_t eventId, le_event_LayeredHandlerFunc_t firstLayerFunc, void *secondLayerFunc)
void le_event_SetFdHandlerContextPtr(le_event_FdHandlerRef_t handlerRef, void *contextPtr)
void(* le_event_FdHandlerFunc_t)(int fd)
Definition: le_eventLoop.h:713
le_event_HandlerRef_t le_event_AddHandler(const char *name, le_event_Id_t eventId, le_event_HandlerFunc_t handlerFunc)
void le_event_QueueFunction(le_event_DeferredFunc_t func, void *param1Ptr, void *param2Ptr)
struct le_event_Handler * le_event_HandlerRef_t
Definition: le_eventLoop.h:752
void * le_event_GetContextPtr(void)
le_event_Id_t le_event_CreateId(const char *name, size_t payloadSize)
void le_event_QueueFunctionToThread(le_thread_Ref_t thread, le_event_DeferredFunc_t func, void *param1Ptr, void *param2Ptr)
Urgent/out-of-band data is available for reading.
Definition: le_eventLoop.h:774
Experienced an error.
Definition: le_eventLoop.h:778
void le_event_ClearFdHandler(le_event_FdHandlerRef_t handlerRef)
void(* le_event_LayeredHandlerFunc_t)(void *reportPtr, void *secondLayerFunc)
Definition: le_eventLoop.h:699
Ready to accept data for writing.
Definition: le_eventLoop.h:775
void le_event_RemoveHandler(le_event_HandlerRef_t handlerRef)