aboutsummaryrefslogtreecommitdiff
path: root/src/include/htadd.H1
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
commitab8cc85adde879fb963c94d15675783f2cf4b183 (patch)
treec202482327f474583b750b2c45dedfc4e4312b1d /src/include/htadd.H1
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/include/htadd.H1')
-rw-r--r--src/include/htadd.H113
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