aboutsummaryrefslogtreecommitdiff
path: root/src/include/htadd.H1
blob: 22ee54874720db987e81c2b5ea024da314b4d45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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