diff options
Diffstat (limited to 'Inotify.dcl')
-rw-r--r-- | Inotify.dcl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Inotify.dcl b/Inotify.dcl index f340df0..e021c45 100644 --- a/Inotify.dcl +++ b/Inotify.dcl @@ -15,8 +15,11 @@ from Data.Maybe import ::Maybe inotify_init :: st -> Maybe *(Inotify st) inotify_close :: *(Inotify st) -> st -inotify_add_watch :: (INCallback st) !Int !String !*(Inotify st) -> *(Either Int INWatch, *Inotify st) + +inotify_add_watch :: (INCallback st) !Int !String !*(Inotify st) + -> *(Either Int INWatch, *Inotify st) inotify_rm_watch :: !INWatch !*(Inotify st) -> *(Bool, *Inotify st) + inotify_poll :: *(Inotify st) -> *Inotify st inotify_check :: *(Inotify st) *World -> *(*Inotify st, *World) |