diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-24 23:52:23 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-24 23:52:23 +0800 |
commit | 5f011cddea210cbd8733347e43de7d80eb52e447 (patch) | |
tree | e735b0e39d1652365e47758611b42147dc146205 /include | |
parent | 5fbdbcb03b25c100312335bea7d322051c8f5d61 (diff) | |
download | pttbbs-5f011cddea210cbd8733347e43de7d80eb52e447.tar pttbbs-5f011cddea210cbd8733347e43de7d80eb52e447.tar.gz pttbbs-5f011cddea210cbd8733347e43de7d80eb52e447.tar.bz2 pttbbs-5f011cddea210cbd8733347e43de7d80eb52e447.tar.lz pttbbs-5f011cddea210cbd8733347e43de7d80eb52e447.tar.xz pttbbs-5f011cddea210cbd8733347e43de7d80eb52e447.tar.zst pttbbs-5f011cddea210cbd8733347e43de7d80eb52e447.zip |
for board
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@190 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 3 | ||||
-rw-r--r-- | include/pttstruct.h | 14 |
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; |