Changeset 115 for trunk/include
- Timestamp:
- Aug 21, 2007, 10:22:59 PM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r114 r115 131 131 #define SH_FFLAG_CHECKED (1<<3) 132 132 #define SH_FFLAG_REPORTED (1<<3) 133 #define SH_FFLAG_SUIDCHK (1<<4) 133 134 134 135 #define SH_FFLAG_ALLIGNORE_SET(a) (((a) & SH_FFLAG_ALLIGNORE) != 0) … … 147 148 #define SET_SH_FFLAG_REPORTED(a) ((a) |= SH_FFLAG_REPORTED) 148 149 #define CLEAR_SH_FFLAG_REPORTED(a) ((a) &= ~SH_FFLAG_REPORTED) 150 151 #define SH_FFLAG_SUIDCHK_SET(a) (((a) & SH_FFLAG_SUIDCHK) != 0) 152 #define SET_SH_FFLAG_SUIDCHK(a) ((a) |= SH_FFLAG_SUIDCHK) 153 #define CLEAR_SH_FFLAG_SUIDCHK(a) ((a) &= ~SH_FFLAG_SUIDCHK) 149 154 150 155 -
trunk/include/sh_hash.h
r22 r115 84 84 void sh_hash_pushdata_memory (file_type * theFile, char * fileHash); 85 85 86 /* Get file flags from in-memory database 87 */ 88 int sh_hash_getflags (char * filename); 89 90 /* Set file flags in in-memory database 91 */ 92 int sh_hash_setflags (char * filename, int flags); 93 94 /* Set a file flag in in-memory database 95 */ 96 void sh_hash_addflag (char * filename, int flag); 97 86 98 /* Compare a file with its status in the database. 87 99 */
Note:
See TracChangeset
for help on using the changeset viewer.