Ignore:
Timestamp:
Nov 1, 2011, 9:29:51 PM (13 years ago)
Author:
katerina
Message:

Patch for ticket #265 (inotify). Handling of added subdirectories and file list rescan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_files.h

    r371 r373  
    2121#define SH_FILES_H
    2222
    23 void sh_audit_mark (char * file);
     23void sh_audit_mark (const char * file);
    2424void sh_audit_delete_all ();
    2525char * sh_audit_fetch (char * file, time_t time, char * result, size_t rsize);
     
    226226
    227227ShFileType sh_files_filecheck (int class, unsigned long check_mask,
    228                                char * dirName,
    229                                char * infileName,
     228                               const char * dirName,
     229                               const char * infileName,
    230230                               int * reported,
    231231                               int rsrcflag);
    232232
    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);
     233int sh_files_checkdir (int iclass, unsigned long check_mask,
     234                       int idepth, char * iname,
     235                       char * relativeName);
     236
     237int sh_files_search_file(char * name, int * class,
     238                         unsigned long *check_mask, int * reported);
     239int sh_files_search_dir(char * name, int * class,
     240                        unsigned long *check_mask, int *reported,
     241                        int * rdepth);
     242void sh_files_set_file_reported(const char * name);
     243void sh_files_clear_file_reported(const char * name);
    236244
    237245#endif
Note: See TracChangeset for help on using the changeset viewer.