diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-10 01:33:43 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-10 01:33:43 +0800 |
commit | 88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4 (patch) | |
tree | bcc24a0272098d7e3cf6c1b73cadd3c60aad69ab /include/pttstruct.h | |
parent | 07875ded5ef76dc03946c65b9c953ff49d4366de (diff) | |
download | pttbbs-88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4.tar pttbbs-88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4.tar.gz pttbbs-88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4.tar.bz2 pttbbs-88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4.tar.lz pttbbs-88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4.tar.xz pttbbs-88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4.tar.zst pttbbs-88d88e1517ae6e31e1f613a9a9db8ac2b43d18d4.zip |
- add dashc() for file create time
- remove unused structure
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 6b9a4090..e5d886e2 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -169,7 +169,9 @@ typedef struct boardheader_t { unsigned char fastrecommend_pause; /* 快速連推間隔 */ unsigned char vote_limit_badpost; /* 連署 : 劣文上限 */ unsigned char post_limit_badpost; /* 發表文章 : 劣文上限 */ - char pad3[47]; + char pad3[3]; + time4_t SRexpire; /* SR Records expire time */ + char pad4[40]; } boardheader_t; // TODO BRD 快爆了,怎麼辦? 準備從 pad3 偷一個來當 attr2 吧... @@ -263,25 +265,6 @@ typedef struct fileheader_t { #define STRLEN 80 /* Length of most string data */ - -union xitem_t { - struct { /* bbs_item */ - char fdate[9]; /* [mm/dd/yy] */ - char editor[13]; /* user ID */ - char fname[31]; - } B; - struct { /* gopher_item */ - char path[81]; - char server[48]; - int port; - } G; -}; - -typedef struct { - char title[63]; - union xitem_t X; -} item_t; - #define FAVMAX 1024 /* Max boards of Myfavorite */ #define FAVGMAX 32 /* Max groups of Myfavorite */ #define FAVGSLEN 8 /* Max Length of Description String */ |