Index: trunk/include/samhain.h
===================================================================
--- trunk/include/samhain.h	(revision 114)
+++ trunk/include/samhain.h	(revision 115)
@@ -131,4 +131,5 @@
 #define SH_FFLAG_CHECKED   (1<<3)
 #define SH_FFLAG_REPORTED  (1<<3)
+#define SH_FFLAG_SUIDCHK   (1<<4)
 
 #define SH_FFLAG_ALLIGNORE_SET(a)   (((a) & SH_FFLAG_ALLIGNORE) != 0)
@@ -147,4 +148,8 @@
 #define SET_SH_FFLAG_REPORTED(a)    ((a) |= SH_FFLAG_REPORTED)
 #define CLEAR_SH_FFLAG_REPORTED(a)  ((a) &= ~SH_FFLAG_REPORTED)
+
+#define SH_FFLAG_SUIDCHK_SET(a)     (((a) & SH_FFLAG_SUIDCHK) != 0)
+#define SET_SH_FFLAG_SUIDCHK(a)     ((a) |= SH_FFLAG_SUIDCHK)
+#define CLEAR_SH_FFLAG_SUIDCHK(a)   ((a) &= ~SH_FFLAG_SUIDCHK)
 
 
Index: trunk/include/sh_hash.h
===================================================================
--- trunk/include/sh_hash.h	(revision 114)
+++ trunk/include/sh_hash.h	(revision 115)
@@ -84,4 +84,16 @@
 void sh_hash_pushdata_memory (file_type * theFile, char * fileHash);
 
+/* Get file flags from in-memory database
+ */
+int sh_hash_getflags (char * filename);
+
+/* Set file flags in in-memory database
+ */
+int sh_hash_setflags (char * filename, int flags);
+
+/* Set a file flag in in-memory database
+ */
+void sh_hash_addflag  (char * filename, int flag);
+
 /* Compare a file with its status in the database.
  */ 
