3#ifndef FSAUTOPROC_DENG_H
4#define FSAUTOPROC_DENG_H
int dengsearch(const char *sd, deng_filter_t filter, const struct deng_hooks_s *hooks, const struct index_s *old, struct index_s *new)
Recursively scans directory sd and compares the file system state with a previously saved index....
Definition deng.c:167
bool(* deng_filter_t)(const char *fp)
Filter function for ignoring files during the search process.
Definition deng.h:32
deng_notif_t
Notification events for the file search process.
Definition deng.h:13
@ DENG_NOTIF_STAGE_DONE
Occurs when a stage has been fully processed.
Definition deng.h:15
@ DENG_NOTIF_DIR_DONE
Occurs when a directory has been fully processed.
Definition deng.h:14
Hook functions for file system search events.
Definition deng.h:20
void(* nop)(struct inode_s *in)
Unmodified file event.
Definition deng.h:25
void(* mod)(struct inode_s *in)
Modified file event.
Definition deng.h:24
void(* del)(struct inode_s *in)
Deleted file event.
Definition deng.h:23
void(* notify)(enum deng_notif_t notif)
Progress notification event.
Definition deng.h:21
Index map structure for storing file nodes.
Definition index.h:24
Individual file node in the index map.
Definition index.h:12
char * fp
File path (string duplicated)
Definition index.h:13