diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 20:16:23 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 20:16:23 +0800 |
commit | a1d171bf72cc949f8852258cf36016cbc70d98b9 (patch) | |
tree | 487277d76b6215e970d0cc9dd88dcfce4a0e391b /include | |
parent | 131a77308798e2c314c7b1a00594e44d7cb3fa3d (diff) | |
download | pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.gz pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.bz2 pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.lz pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.xz pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.zst pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.zip |
- chicken: move chicken data to user directory, with mmap based synchronization.
- WARNING: PLEASE RUN upgrade/r3968_chicken.c TO MIGRATE USER CHICKEN DATA.
- YOU NEED TO RESTART BBS FOR THIS PATCH.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/proto.h b/include/proto.h index 57388817..ebab4084 100644 --- a/include/proto.h +++ b/include/proto.h @@ -208,13 +208,12 @@ int chc_watch(void); ChessInfo* chc_replay(FILE* fp); /* chicken */ -void ch_buyitem(int money, const char *picture, int *item, int haveticket); int chicken_main(void); int chickenpk(int fd); -void time_diff(chicken_t *thechicken); -int isdeadth(const chicken_t *thechicken); -void show_chicken_data(chicken_t *thechicken, chicken_t *pkchicken); int reload_chicken(void); +void chicken_query(const char *userid); +void ch_buyitem(int money, const char *picture, int *item, int haveticket); +void show_chicken_data(chicken_t *thechicken, chicken_t *pkchicken); /* dark */ int main_dark(int fd,userinfo_t *uin); @@ -557,13 +556,15 @@ inline int getindex(const char *fpath, fileheader_t *fh, int start); /* register */ +int u_register(void); int getnewuserid(void); int bad_user_id(const char *userid); -void new_register(void); int checkpasswd(const char *passwd, char *test); +int setupnewuser(const userec_t *user); +void new_register(void); void check_register(void); +void delregcodefile(void); char *genpasswd(char *pw); -int setupnewuser(const userec_t *user); /* reversi */ void reversi(int s, ChessGameMode mode); @@ -757,7 +758,6 @@ int u_ansi(void); int u_editplan(void); int u_editsig(void); int u_cloak(void); -int u_register(void); int u_list(void); #ifdef DBCSAWARE int u_detectDBCSAwareEvilClient(); |