Index: trunk/include/samhain.h
===================================================================
--- trunk/include/samhain.h	(revision 457)
+++ trunk/include/samhain.h	(revision 458)
@@ -188,4 +188,5 @@
 #define SH_FFLAG_REPORTED  (1<<3)
 #define SH_FFLAG_SUIDCHK   (1<<4)
+#define SH_FFLAG_ENOENT    (1<<5)
 
 #define SH_FFLAG_ALLIGNORE_SET(a)   (((a) & SH_FFLAG_ALLIGNORE) != 0)
@@ -208,4 +209,8 @@
 #define SET_SH_FFLAG_SUIDCHK(a)     ((a) |= SH_FFLAG_SUIDCHK)
 #define CLEAR_SH_FFLAG_SUIDCHK(a)   ((a) &= ~SH_FFLAG_SUIDCHK)
+
+#define SH_FFLAG_ENOENT_SET(a)      (((a) & SH_FFLAG_ENOENT) != 0)
+#define SET_SH_FFLAG_ENOENT(a)      ((a) |= SH_FFLAG_ENOENT)
+#define CLEAR_SH_FFLAG_ENOENT(a)    ((a) &= ~SH_FFLAG_ENOENT)
 
 /* Flags for inotify
Index: trunk/include/sh_hash.h
===================================================================
--- trunk/include/sh_hash.h	(revision 457)
+++ trunk/include/sh_hash.h	(revision 458)
@@ -111,5 +111,9 @@
 /* Set a file flag in in-memory database
  */
-void sh_hash_addflag  (char * filename, int flag);
+void sh_hash_set_flag  (char * filename, int flag);
+
+/* Unset a file flag in in-memory database
+ */
+void sh_hash_clear_flag (char * filename, int flag_to_set);
 
 /* Compare a file with its status in the database.
Index: trunk/include/zAVLTree.h
===================================================================
--- trunk/include/zAVLTree.h	(revision 457)
+++ trunk/include/zAVLTree.h	(revision 458)
@@ -78,4 +78,5 @@
 extern int zAVL_string_set (zAVLTree ** tree, const char * key); 
 extern void zAVL_string_reset (zAVLTree * tree);
+extern void zAVL_string_del (zAVLTree * tree, const char * key);
 
 #endif
