diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-26 09:12:24 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-26 09:12:24 +0800 |
commit | 8c775648395ae91a9e5d81b6da3ca713085cc321 (patch) | |
tree | 22c8ae7c6ec514ffb9c3653f489b618827838a65 /include/pttstruct.h | |
parent | 1819e27114ef774152ce9d50cfc8b9f00fda526c (diff) | |
download | pttbbs-8c775648395ae91a9e5d81b6da3ca713085cc321.tar pttbbs-8c775648395ae91a9e5d81b6da3ca713085cc321.tar.gz pttbbs-8c775648395ae91a9e5d81b6da3ca713085cc321.tar.bz2 pttbbs-8c775648395ae91a9e5d81b6da3ca713085cc321.tar.lz pttbbs-8c775648395ae91a9e5d81b6da3ca713085cc321.tar.xz pttbbs-8c775648395ae91a9e5d81b6da3ca713085cc321.tar.zst pttbbs-8c775648395ae91a9e5d81b6da3ca713085cc321.zip |
re-format boardheader_t
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 959e7fe0..b91741e0 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -1,4 +1,4 @@ -/* $Id: pttstruct.h,v 1.18 2002/06/25 23:55:01 in2 Exp $ */ +/* $Id: pttstruct.h,v 1.19 2002/06/26 01:12:24 in2 Exp $ */ #ifndef INCLUDE_STRUCT_H #define INCLUDE_STRUCT_H @@ -98,26 +98,26 @@ typedef struct userec_t { #define BTLEN 48 /* Length of board title */ typedef struct boardheader_t { - char brdname[IDLEN + 1]; /* bid */ - char title[BTLEN + 1]; - char BM[IDLEN * 3 + 3]; /* BMs' uid, token '/' */ - unsigned int brdattr; /* board的屬性 */ - char pad[3]; /* 沒用到的 */ - time_t bupdate; /* note update time */ - char pad2[3]; /* 沒用到的 */ - unsigned char bvote; /* Vote flags */ - time_t vtime; /* Vote close time */ - unsigned int level; /* 可以看此板的權限 */ - int unused; /* 還沒用到 */ - int gid; /* 看板所屬的類別 ID */ - void *next[2]; /* 在同一個gid下一個看板 動態產生*/ - void *firstchild[2]; /* 屬於這個看板的第一個子看板 */ - void *parent; - int childcount; /* 有多少個child */ - int nuser; /* 多少人在這板 */ - void *u; /* 放板友 linked list用 */ - time_t endgamble; - char pad3[84]; + char brdname[IDLEN + 1]; /* bid */ + char title[BTLEN + 1]; + char BM[IDLEN * 3 + 3]; /* BMs' uid, token '/' */ + unsigned int brdattr; /* board的屬性 */ + char pad[3]; /* 沒用到的 */ + time_t bupdate; /* note update time */ + char pad2[3]; /* 沒用到的 */ + unsigned char bvote; /* Vote flags */ + time_t vtime; /* Vote close time */ + unsigned int level; /* 可以看此板的權限 */ + int unused; /* 還沒用到 */ + int gid; /* 看板所屬的類別 ID */ + void *next[2]; /* 在同一個gid下一個看板 動態產生*/ + void *firstchild[2]; /* 屬於這個看板的第一個子看板 */ + void *parent; + int childcount; /* 有多少個child */ + int nuser; /* 多少人在這板 */ + void *u; /* 放板友 linked list用 */ + time_t endgamble; + char pad3[84]; } boardheader_t; #define BRD_NOZAP 00001 /* 不可zap */ |