scanner: Add non-destructive update rescan

New functionality, based on Shrimpkin's patch #145 on SF.
This commit is contained in:
Justin Maggard
2017-05-04 23:29:59 -07:00
parent 5450ac486e
commit 49aa42d893
8 changed files with 177 additions and 61 deletions

16
monitor.h Normal file
View File

@ -0,0 +1,16 @@
int
monitor_insert_file(char * name, const char * path);
int
monitor_insert_directory(int fd, char *name, const char * path);
int
monitor_remove_file(const char * path);
int
monitor_remove_directory(int fd, const char * path);
#ifdef HAVE_INOTIFY
void *
start_inotify();
#endif