summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-24 23:52:23 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-24 23:52:23 +0800
commit5f011cddea210cbd8733347e43de7d80eb52e447 (patch)
treee735b0e39d1652365e47758611b42147dc146205 /include/pttstruct.h
parent5fbdbcb03b25c100312335bea7d322051c8f5d61 (diff)
downloadpttbbs-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/pttstruct.h')
-rw-r--r--include/pttstruct.h14
1 files changed, 5 insertions, 9 deletions
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;