Changeset 481 for trunk/include/sh_hash.h
- Timestamp:
- Jul 18, 2015, 5:06:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_hash.h
r458 r481 28 28 #include "sh_error.h" 29 29 30 /* the report_checkflags flag 31 */ 32 int get_report_checkflags(); 33 34 /* whether to report checkflags 35 */ 36 int set_report_checkflags(const char * c); 37 30 38 /* convert to policy string 31 39 */ … … 40 48 int hashreport_missing( char *fullpath, int level); 41 49 50 /* remove internal db record for a file (checks for some flags). 51 */ 52 void sh_hash_remove (const char * path); 53 42 54 /* remove internal db record for a file 43 55 */ 44 void sh_hash_remove (const char * path); 45 46 /* write database to stdout 47 */ 48 int sh_hash_pushdata_stdout (const char * str); 49 50 /* version string for database 51 */ 52 int sh_hash_version_string(const char * str); 56 void sh_hash_remove_unconditional (const char * path); 57 58 /* Insert a "null" record in-memory (representing a missing file). 59 */ 60 void sh_hash_insert_null(char * str); 61 62 #ifdef SH_DBIO_INT_H 63 /* Check for "null" record 64 */ 65 int sh_hash_is_null_record(sh_filestore_t * theFile); 66 #endif 53 67 54 68 /* Dont report on ctm/mtm change for directories … … 56 70 int sh_hash_loosedircheck(const char * str); 57 71 58 /* List database content59 */60 int sh_hash_list_db (const char * db_file);61 62 72 /* List database content for a single file 63 73 */ 64 74 int set_list_file (const char * c); 65 75 76 /* Set the path of that file 77 */ 78 char * get_list_file(); 79 66 80 /* List database content with full detail 67 81 */ … … 75 89 */ 76 90 void sh_hash_init (void); 91 92 /* Check init status 93 */ 94 int sh_hash_get_initialized(); 95 96 /* Read the database from disk and fill sh.data.hash with checksum. 97 */ 98 void sh_hash_init_and_checksum(); 99 100 /* Set status to 'database is read in'. 101 */ 102 void sh_hash_set_initialized(); 77 103 78 104 /* Check whether a file is present in the database.
Note:
See TracChangeset
for help on using the changeset viewer.