Henrik Hautakoski
f46ae1970b
Change indentation to follow the updated standard.
...
Alot of mixed indentation. use 4 chars wide soft tabs.
2011-03-19 12:28:48 +02:00
Henrik Hautakoski
ff91ca59cd
inotify-map: unmap_path, return the amount of remaining paths associated with this wd.
2011-02-20 10:50:14 +01:00
Henrik Hautakoski
ab91625700
inotify-map: inotify_map_get_path: return a list of struct watch* instead of char **
2011-02-20 10:05:06 +01:00
Henrik Hautakoski
35008fa605
inotify-map: remove lookup_by_path function.
...
callers can write 'inotify_get_path(inotify_get_wd(path))' anyway.
2011-02-18 10:53:02 +01:00
Henrik Hautakoski
e0302e8ac4
inotify-map: rename lookup to get_path
2011-02-18 09:08:55 +01:00
Henrik Hautakoski
514a91b52e
inotify-map: use inotify-watch to keep track of the filesystem hirarchy.
2011-02-16 16:07:31 +01:00
Henrik Hautakoski
8f1f7c356c
inotify-map: Make the compiler happy and remove the pointer to int casts.
2011-02-06 19:53:38 +01:00
Henrik Hautakoski
d64f14af4e
rbtree: remove unused arguments from INIT macro.
2011-02-01 12:00:07 +01:00
Henrik Hautakoski
b5f0c3117c
rbtree: move delete_fn from the structure to argument.
2011-02-01 11:51:54 +01:00
Henrik Hautakoski
440e5ed7d2
inotify-map.c: return a copy of a path list in lookup functions.
...
Becouse it is possible to change the a list stored by the API while traversing it, a bug can couse a infinite loop.
lets be strict about this and only return a copy of the list, so it can't be changed by calls to the API.
2011-01-30 15:55:51 +01:00
Henrik Hautakoski
5ef26e412f
inotify-map.c: include string.h
2011-01-29 10:53:06 +01:00
Henrik Hautakoski
cc590370bf
inotify: breakup mapping into a module.
2011-01-25 15:38:06 +01:00