Changeset 373 for trunk/include
- Timestamp:
- Nov 1, 2011, 9:29:51 PM (13 years ago)
- Location:
- trunk/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r367 r373 205 205 #define SH_INOTIFY_DOSCAN (1<<1) 206 206 #define SH_INOTIFY_NEEDINIT (1<<2) 207 #define SH_INOTIFY_INSCAN (1<<3) 207 208 208 209 -
trunk/include/sh_files.h
r371 r373 21 21 #define SH_FILES_H 22 22 23 void sh_audit_mark (c har * file);23 void sh_audit_mark (const char * file); 24 24 void sh_audit_delete_all (); 25 25 char * sh_audit_fetch (char * file, time_t time, char * result, size_t rsize); … … 226 226 227 227 ShFileType sh_files_filecheck (int class, unsigned long check_mask, 228 c har * dirName,229 c har * infileName,228 const char * dirName, 229 const char * infileName, 230 230 int * reported, 231 231 int rsrcflag); 232 232 233 int sh_files_search_file(char * name, int * class, unsigned long *check_mask, int * reported); 234 void sh_files_set_file_reported(char * name); 235 void sh_files_clear_file_reported(char * name); 233 int sh_files_checkdir (int iclass, unsigned long check_mask, 234 int idepth, char * iname, 235 char * relativeName); 236 237 int sh_files_search_file(char * name, int * class, 238 unsigned long *check_mask, int * reported); 239 int sh_files_search_dir(char * name, int * class, 240 unsigned long *check_mask, int *reported, 241 int * rdepth); 242 void sh_files_set_file_reported(const char * name); 243 void sh_files_clear_file_reported(const char * name); 236 244 237 245 #endif -
trunk/include/sh_inotify.h
r372 r373 32 32 33 33 int sh_inotify_add_watch(char * filename, sh_watches * watches, int * errnum, 34 int class, unsigned long check_mask, int type );34 int class, unsigned long check_mask, int type, int rdepth); 35 35 36 int sh_inotify_add_watch_later(char * filename, sh_watches * watches, int * errnum, 37 int class, unsigned long check_mask, int type); 36 int sh_inotify_add_watch_later(const char * filename, sh_watches * watches, 37 int * errnum, 38 int class, unsigned long check_mask, 39 int type, int rdepth); 38 40 39 char * sh_inotify_pop_dormant(sh_watches * watches, int * class, unsigned long * check_mask, int * type); 41 char * sh_inotify_pop_dormant(sh_watches * watches, int * class, 42 unsigned long * check_mask, int * type, int * rdepth); 40 43 41 44 void sh_inotify_purge_dormant(sh_watches * watches); … … 44 47 45 48 char * sh_inotify_search_item(sh_watches * watches, int watch, 46 int * class, unsigned long * check_mask, int * type); 49 int * class, unsigned long * check_mask, 50 int * type, int * rdepth); 47 51 ssize_t sh_inotify_read(char * buffer, size_t count); 48 52 ssize_t sh_inotify_read_timeout(char * buffer, size_t count, int timeout); -
trunk/include/sh_unix.h
r294 r373 307 307 /* obtain file info 308 308 */ 309 int sh_unix_getinfo (int level, c har * filename, file_type * theFile,309 int sh_unix_getinfo (int level, const char * filename, file_type * theFile, 310 310 char * fileHash, int flagrel); 311 311 -
trunk/include/sh_utils.h
r355 r373 187 187 /* check for obscure filenames 188 188 */ 189 int sh_util_obscurename (ShErrLevel level, c har * name, int flag);189 int sh_util_obscurename (ShErrLevel level, const char * name, int flag); 190 190 191 191 /* returns freshly allocated memory, return value should be free'd
Note:
See TracChangeset
for help on using the changeset viewer.