libresman
diff src/filewatch.h @ 22:174ddb6bf92a
separated platform-specific filewatch code
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 12 Feb 2014 22:32:30 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/filewatch.h Wed Feb 12 22:32:30 2014 +0200 1.3 @@ -0,0 +1,15 @@ 1.4 +#ifndef FILEWATCH_H_ 1.5 +#define FILEWATCH_H_ 1.6 + 1.7 +struct resman; 1.8 +struct resource; 1.9 + 1.10 +int resman_init_file_monitor(struct resman *rman); 1.11 +void resman_destroy_file_monitor(struct resman *rman); 1.12 + 1.13 +int resman_start_watch(struct resman *rman, struct resource *res); 1.14 +void resman_stop_watch(struct resman *rman, struct resource *res); 1.15 + 1.16 +void resman_check_watch(struct resman *rman); 1.17 + 1.18 +#endif /* FILEWATCH_H_ */