diff options
Diffstat (limited to 'src/include/htadd.H1')
-rw-r--r-- | src/include/htadd.H1 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/htadd.H1 b/src/include/htadd.H1 new file mode 100644 index 00000000..22ee5487 --- /dev/null +++ b/src/include/htadd.H1 @@ -0,0 +1,13 @@ +extern int main(int argc , char * * argv); +#ifdef _HTADD_C +static void add_file(char * dbname , char * name , int fresh); +static void add_new_pages(FILE * temp_db , FILE * new_file , char * addname , char * fullname); +static int build_db_filename(short flag , char * db_dir , char * dbfilename); +static void copy_file(char * f1 , char * f2); +static void delete_db(FILE * db , FILE * temp_db , char * name); +static int delete_file(char * dbname , char * name); +static void get_filename(void); +static void parse_args(char * * argv , char * db_dir , char * * filenames , short * fl); +static void update_db(FILE * db , FILE * temp_db , FILE * new_file , char * addname , char * fullname , int fresh); +static int writable(struct stat buff); +#endif |