30 #include <sys/epoll.h> 36 #ifndef DLT_DAEMON_EVENT_HANDLER_H 37 # define DLT_DAEMON_EVENT_HANDLER_H
int dlt_daemon_handle_event(DltEventHandler *, DltDaemon *, DltDaemonLocal *)
Catch and process incoming events.
uintptr_t DltConnectionId
int dlt_daemon_prepare_event_handling(DltEventHandler *)
Prepare the event handler.
DltConnection * dlt_event_handler_find_connection_by_id(DltEventHandler *, DltConnectionId)
Find connection with a specific id in the connection list.
STATIC void dlt_daemon_add_connection(DltEventHandler *ev, DltConnection *connection)
Add a new connection to the list.
int dlt_event_handler_unregister_connection(DltEventHandler *, DltDaemonLocal *, int)
Unregisters a connection from the event handler and destroys it.
int dlt_connection_check_activate(DltEventHandler *, DltConnection *, int)
Check for connection activation.
DltConnection * dlt_event_handler_find_connection(DltEventHandler *, int)
Find connection with a specific fd in the connection list.
void dlt_event_handler_cleanup_connections(DltEventHandler *)
Destroy the connection list.
STATIC int dlt_daemon_remove_connection(DltEventHandler *ev, DltConnection *to_remove)
Remove a connection from the list and destroy it.
int dlt_event_handler_register_connection(DltEventHandler *, DltDaemonLocal *, DltConnection *, int)
Registers a connection for event handling and takes its ownership.