From 792e7b4e6ec894f93a8fbe51ccf6c155997c69ec Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 1 Apr 2008 07:38:50 +0000 Subject: * 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. --- src/hyper/htadd.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/hyper/htadd.c') 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); + /* -- cgit v1.2.3