diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 17:02:50 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 17:02:50 +0800 |
commit | 243b8fa1bcadfb312cc334fdd83322a043d97a41 (patch) | |
tree | 695ef854c84e0e7abfc1c2b1b34881bd52e48fc8 /include | |
parent | 1f6dede4cd2f7f35a2a768ec4c1f75aba51b71dd (diff) | |
download | pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.gz pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.bz2 pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.lz pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.xz pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.zst pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.zip |
Revision 3000
- sync with ptt1 local modified source
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/fpg.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/fpg.h b/include/fpg.h index 199eab02..f237b967 100644 --- a/include/fpg.h +++ b/include/fpg.h @@ -10,9 +10,10 @@ -typedef unsigned char uschar; /* length = 1 */ -typedef unsigned int usint; /* length = 4 */ -typedef unsigned short int ushort; /* length = 4 */ +typedef unsigned char uschar; /* length = 1 */ +typedef unsigned short ushort; /* length = 2 */ +typedef unsigned long uslong; /* length = 4 */ +typedef unsigned int usint; /* length = 4 */ /* ----------------------------------------------------- */ /* .PASSWDS struct : 512 bytes */ @@ -48,12 +49,12 @@ struct sobuserec usint bequery; /* 人氣度 4 bytes */ char toqid[IDLEN + 1]; /* 前次查誰 13 bytes */ char beqid[IDLEN + 1]; /* 前次被誰查 13 bytes */ - unsigned long int totaltime; /* 上線總時數 8 bytes */ + uslong totaltime; /* 上線總時數 8 bytes */ usint sendmsg; /* 發訊息次數 4 bytes */ usint receivemsg; /* 收訊息次數 4 bytes */ - unsigned int goldmoney; /* 風塵金幣 8 bytes */ - unsigned int silvermoney; /* 銀幣 8 bytes */ - unsigned int exp; /* 經驗值 8 bytes */ + usint goldmoney; /* 風塵金幣 8 bytes */ + usint silvermoney; /* 銀幣 8 bytes */ + usint exp; /* 經驗值 8 bytes */ time4_t dtime; /* 存款時間 4 bytes */ int scoretimes; /* 評分次數 4 bytes */ uschar rtimes; /* 填註冊單次數 1 bytes */ |