diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-28 22:15:05 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-28 22:15:05 +0800 |
commit | f70549636d72d203ed0f50fb66688319c3fcb878 (patch) | |
tree | 0dc6840fb974b8fc0c6f148761e16852c839c74e /include/proto.h | |
parent | 2230c0a8c5a4eb2397673d37e709454195c5e284 (diff) | |
download | pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.gz pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.bz2 pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.lz pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.xz pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.zst pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.zip |
* modify more APIs
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r-- | include/proto.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h index 00fffb2e..4263dd01 100644 --- a/include/proto.h +++ b/include/proto.h @@ -130,7 +130,7 @@ const char * postperm_msg(const char *bname); int give_tax(int money); const char* money_level(int money); int vice(int money, const char* item); -#define reload_money() cuser.money=moneyof(usernum) +#define reload_money() // cuser.money=moneyof(usernum) int lockutmpmode(int unmode, int state); int unlockutmpmode(void); int x_file(void); @@ -695,7 +695,6 @@ int passwd_sync_query (int num, userec_t * buf); // current user help utilities int pwcuBitSetLevel (unsigned int mask); int pwcuBitUnsetLevel (unsigned int mask); -int pwcuSetSignature (unsigned char newsig); int pwcuIncNumPost (); int pwcuDecNumPost (); int pwcuSetGoodPost (unsigned int newgp); @@ -704,11 +703,16 @@ int pwcuSaveViolateLaw (); int pwcuAddExMailBox (int m); int pwcuToggleOutMail (); int pwcuSetLoginView (unsigned int bits); -int pwcuSetWaterballMode(unsigned int bm); int pwcuSetLastSongTime (time4_t clk); int pwcuSetMyAngel (const char *angel_uid); int pwcuSetNickname (const char *nickname); +// non-important based variables (only save on exit) +int pwcuSetSignature (unsigned char newsig); +int pwcuSetWaterballMode(unsigned int bm); +int pwcuToggleSortBoard (); +int pwcuToggleFriendList(); + // session save int pwcuLoginSave (); int pwcuExitSave (); |