Home
last modified time | relevance | path

Searched refs:watcherHandle (Results 1 – 4 of 4) sorted by relevance

/base/startup/init/services/loopevent/task/
Dle_watchtask.c53 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context) in LE_StartWatcher() argument
55 …LE_CHECK(loopHandle != NULL && watcherHandle != NULL, return LE_INVALID_PARAM, "Invalid parameters… in LE_StartWatcher()
69 *watcherHandle = (WatcherHandle)task; in LE_StartWatcher()
73 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle) in LE_RemoveWatcher() argument
75 LE_CHECK(loopHandle != NULL && watcherHandle != NULL, return, "Invalid parameters"); in LE_RemoveWatcher()
76 LE_CloseTask(loopHandle, watcherHandle); in LE_RemoveWatcher()
/base/startup/init/services/init/include/
Dinit_service_socket.h76 int AddSocketWatcher(ServiceWatcher *watcherHandle, struct Service_ *service, int fd);
77 void RemoveSocketWatcher(ServiceWatcher watcherHandle);
/base/startup/init/services/init/
Dinit_service_socket.c162 static void ProcessWatchEvent_(const WatcherHandle watcherHandle, int fd, uint32_t *events, const v… in ProcessWatchEvent_() argument
180 RemoveSocketWatcher(watcherHandle); in ProcessWatchEvent_()
186 int AddSocketWatcher(ServiceWatcher *watcherHandle, Service *service, int fd) in AddSocketWatcher() argument
196 *watcherHandle = (ServiceWatcher)handle; in AddSocketWatcher()
200 void RemoveSocketWatcher(ServiceWatcher watcherHandle) in RemoveSocketWatcher() argument
202 LE_RemoveWatcher(LE_GetDefaultLoop(), (WatcherHandle)watcherHandle); in RemoveSocketWatcher()
/base/startup/init/services/loopevent/include/
Dloop_event.h183 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context);
184 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle);