aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/htadd.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-01 07:38:50 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-01 07:38:50 +0000
commit792e7b4e6ec894f93a8fbe51ccf6c155997c69ec (patch)
tree0b11cb955a99fdd6c419b19646e35578ef11086f /src/hyper/htadd.c
parent7a0c33622b460c94beef6cd31ef37807887f5a2c (diff)
downloadopen-axiom-792e7b4e6ec894f93a8fbe51ccf6c155997c69ec.tar.gz
* include/nagman.H1: Remove.
* include/session.H1: Move content to sman/session.c. Remove. * sman/session.c: Don't include "session.H1" anymore. * sman/spadclient.c: Don't include "spadclient.H1" anymore. * include/spadclient.H1: Remove. * include/spadbuf.H1: Move content to hyper/spadbuf.c. Remove. * hyper/spadbuf.c: Don't include "spadbuf.H1" anymore. * hyper/htadd.c: Don't include "htadd.H1" anymore. * include/htadd.H1: Move content to hyper/htadd.c. Remove.
Diffstat (limited to 'src/hyper/htadd.c')
-rw-r--r--src/hyper/htadd.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/hyper/htadd.c b/src/hyper/htadd.c
index edc2add4..534d9c55 100644
--- a/src/hyper/htadd.c
+++ b/src/hyper/htadd.c
@@ -47,7 +47,6 @@
#include "lex.h"
-#include "htadd.H1"
#include "addfile.h"
#include "halloc.H1"
#include "hash.H1"
@@ -55,6 +54,17 @@
#include "lex.H1"
+static void add_file(char*, char*, int);
+static void add_new_pages(FILE*, FILE*, char*, char*);
+static int build_db_filename(short, char*, char*);
+static void copy_file(char*, char*);
+static void delete_db(FILE*, FILE*, char*);
+static int delete_file(char*, char*);
+static void get_filename(void);
+static void parse_args(char**, char*, char**, short*);
+static void update_db(FILE*, FILE*, FILE*, char*, char*, int);
+static int writable(struct stat);
+
/*