Archived
1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
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
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
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
222f34aed0 test/t_inotify-map.c: test inotify_map_get_wd. 2011-01-29 11:40:05 +01:00
Henrik Hautakoski
b0bfbc3a0d test/t_inotify-map.c: test the right function. 2011-01-29 11:33:14 +01:00
Henrik Hautakoski
cc590370bf inotify: breakup mapping into a module. 2011-01-25 15:38:06 +01:00