summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-01-20 18:08:42 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-01-20 18:08:42 +0800
commit96bcebd2d4fb6ee1d989568c864510434e99f941 (patch)
tree6fb6ce7aea819d10cc911525192f78626b498ffb
parent75ffc62f4daae62c83ecf214e1809851fa8d81ae (diff)
downloadpttbbs-96bcebd2d4fb6ee1d989568c864510434e99f941.tar
pttbbs-96bcebd2d4fb6ee1d989568c864510434e99f941.tar.gz
pttbbs-96bcebd2d4fb6ee1d989568c864510434e99f941.tar.bz2
pttbbs-96bcebd2d4fb6ee1d989568c864510434e99f941.tar.lz
pttbbs-96bcebd2d4fb6ee1d989568c864510434e99f941.tar.xz
pttbbs-96bcebd2d4fb6ee1d989568c864510434e99f941.tar.zst
pttbbs-96bcebd2d4fb6ee1d989568c864510434e99f941.zip
padding for alignment
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3477 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/pttstruct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index d60b7f8e..b3de9a30 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -62,6 +62,7 @@ typedef struct userec_t {
char realname[20]; /* 真實姓名 */
char nickname[24]; /* 暱稱 */
char passwd[PASSLEN]; /* 密碼 */
+ char padx;
unsigned int uflag; /* 習慣1 */
unsigned int uflag2; /* 習慣2 */
unsigned int userlevel; /* 權限 */
@@ -83,11 +84,13 @@ typedef struct userec_t {
unsigned char state; /* TODO unknown (unused ?) */
unsigned char pager; /* 呼叫器狀態 */
unsigned char invisible; /* 隱形狀態 */
+ char padxx[3];
unsigned int exmailbox; /* 購買信箱數 TODO short 就夠了 */
chicken_t mychicken; /* 寵物 */
time4_t lastsong; /* 上次點歌時間 */
unsigned int loginview; /* 進站畫面 */
unsigned char channel; /* TODO unused */
+ char padxxx[3];
unsigned short vl_count; /* 違法記錄 ViolateLaw counter */
unsigned short five_win; /* 五子棋戰績 勝 */
unsigned short five_lose; /* 五子棋戰績 敗 */
@@ -109,6 +112,7 @@ typedef struct userec_t {
unsigned char goodsale; /* 競標 好的評價 */
unsigned char badsale; /* 競標 壞的評價 */
char myangel[IDLEN+1]; /* 我的小天使 */
+ char pad2;
unsigned short chess_elo_rating; /* 象棋等級分 */
unsigned int withme; /* 我想找人下棋,聊天.... */
time4_t timeremovebadpost; /* 上次刪除劣文時間 */