diff options
Diffstat (limited to 'watch_list.h')
-rw-r--r-- | watch_list.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/watch_list.h b/watch_list.h index 8c3fa63..931b656 100644 --- a/watch_list.h +++ b/watch_list.h @@ -37,6 +37,8 @@ typedef struct watch_list_struct watch_list_t; void watch_list_init(watch_list_t* list); void watch_list_clear(watch_list_t* list); int watch_list_add(watch_list_t* list, int watch_fd, const char* path); +char* watch_list_find_path(watch_list_t* list, int watch_fd); +int watch_list_find_fd(watch_list_t* list, const char* path); void watch_list_print(watch_list_t* list, const char* head, const char* sep, const char* tail); |