Archived
1
0
Fork 0
Commit graph

18 commits

Author SHA1 Message Date
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
a1766126a2 inotify.c: refactoring addwatch function.
moving the "watch" code to it's own function.
this removes the need for a 'recursive' flag to addwatch.
2011-02-08 11:09:33 +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
bd74a7ad0c inotify.c: skip logging EACCES when adding watches. 2011-01-27 17:46:22 +01:00
Henrik Hautakoski
a49efe7bdc updated copyright notices. 2011-01-26 19:19:05 +01:00
Henrik Hautakoski
ad06c58ba5 inotify.c: close fscrawl. 2011-01-20 09:16:58 +01:00
Henrik Hautakoski
72bdd8bb03 inotify.c: use inotify-map. 2011-01-26 08:29:46 +01:00
Henrik Hautakoski
4c080dd248 inotify.c: log errors from inotify 2010-12-20 20:08:09 +01:00
Henrik Hautakoski
f156e8906c removed debug.h in favor for log.h 2010-12-22 14:51:28 +01:00
Henrik Hautakoski
362b845030 inotify.c: always print notify_stat. 2010-12-22 14:51:24 +01:00
Henrik Hautakoski
5fd33c5115 inotify.c: some format cleanup 2010-11-11 16:07:48 +01:00
Henrik Hautakoski
4a2665004e queue.c: remove queue_clear.
client code knows what objects is stored in the queue
and its only 3 lines to do a simple free() on the items.
2010-11-10 08:45:44 +01:00
Henrik Hautakoski
1f1e9f7764 inotify.c: more robust checking if we have instantiated properly. 2010-11-10 08:16:41 +01:00
Henrik Hautakoski
917666b012 inotify.c: cleaned up the structure. 2010-11-10 08:00:28 +01:00
Henrik Hautakoski
d00fa63900 rbtree: changeing design. now using callbacks 2010-11-07 09:18:29 +01:00
Henrik Hautakoski
cfb5e85699 moving src/common to src/ 2010-10-19 13:34:06 +02:00
Henrik Hautakoski
22d7238b36 moving src/notify to src/ 2010-10-19 11:25:24 +02:00
Renamed from src/notify/inotify.c (Browse further)