aboutsummaryrefslogtreecommitdiff
path: root/src/hyper
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
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')
-rw-r--r--src/hyper/htadd.c12
-rw-r--r--src/hyper/spadbuf.c5
2 files changed, 15 insertions, 2 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);
+
/*
diff --git a/src/hyper/spadbuf.c b/src/hyper/spadbuf.c
index 1a6bc0ef..b8795723 100644
--- a/src/hyper/spadbuf.c
+++ b/src/hyper/spadbuf.c
@@ -52,7 +52,6 @@
#include "edible.h"
#include "com.h"
-#include "spadbuf.H1"
#include "sockio.h"
#include "edin.H1"
#include "wct.H1"
@@ -60,6 +59,10 @@
#include "cursor.H1"
#include "fnct_key.H1"
+static void spadbuf_inter_handler(int);
+static void spadbuf_function_chars(void);
+static void interp_io(void);
+static void init_parent(void);
unsigned char _INTR, _QUIT, _ERASE, _KILL, _EOF, _EOL, _RES1, _RES2;