summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/proto.h3
-rw-r--r--include/pttstruct.h14
2 files changed, 7 insertions, 10 deletions
diff --git a/include/proto.h b/include/proto.h
index 743575f8..6d2c3049 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.15 2002/05/20 15:38:23 lwms Exp $ */
+/* $Id: proto.h,v 1.16 2002/05/24 15:52:22 ptt Exp $ */
#ifndef INCLUDE_PROTO_H
#define INCLUDE_PROTO_H
@@ -269,6 +269,7 @@ void show_call_in(int save, int which);
void write_request (int sig);
void log_usies(char *mode, char *mesg);
void log_user(char *msg);
+void system_abort();
void abort_bbs(int sig);
void del_distinct(char *fname, char *line);
void add_distinct(char *fname, char *line);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index a88bafab..d5849798 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.7 2002/04/15 12:05:50 in2 Exp $ */
+/* $Id: pttstruct.h,v 1.8 2002/05/24 15:52:23 ptt Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -112,7 +112,10 @@ typedef struct boardheader_t {
void *next[2]; /* 在同一個gid下一個看板 動態產生*/
void *firstchild[2]; /* 屬於這個看板的第一個子看板 */
void *parent;
- char pad3[100];
+ int childcount; /* 有多少個child */
+ int nuser; /* 多少人在這板 */
+ void *u; /* 放版友 linked list用 */
+ char pad3[88];
} boardheader_t;
#define BRD_NOZAP 00001 /* 不可zap */
@@ -240,13 +243,6 @@ typedef struct userinfo_t {
unsigned short int five_win;
unsigned short int five_lose;
unsigned short int five_tie;
- /*
- int myfavorite[FAVMAX];
- char gfavorite[FAVGMAX][FAVGSLEN+1];
- int ninGroup[FAVGMAX];
- int nGroup;
- int ninRoot;
- */
int mailalert;
int sex;
char color;