From 6b49f6bc1bf86a9bfa61e34afda72387126e2f53 Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 5 Apr 2004 21:45:45 +0000 Subject: push bottom git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 2 ++ include/pttstruct.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/proto.h b/include/proto.h index 46eab16c..8d90a1b0 100644 --- a/include/proto.h +++ b/include/proto.h @@ -114,6 +114,7 @@ int apply_boards(int (*func)(boardheader_t *)); int haspostperm(char *bname); void inbtotal(int bid, int add); void setbtotal(int bid); +void setbottomtotal(int bid); unsigned int safe_sleep(unsigned int seconds); int apply_ulist(int (*fptr)(userinfo_t *)); userinfo_t *search_ulistn(int uid, int unum); @@ -665,6 +666,7 @@ int passwd_apply(int (*fptr)(int, userec_t *)); void passwd_lock(); void passwd_unlock(); int passwd_update_money(int num); +int passwd_query_money(int num); int initcuser(char *userid); int freecuser(); diff --git a/include/pttstruct.h b/include/pttstruct.h index c8944e02..20260ad1 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -377,10 +377,12 @@ typedef struct { boardheader_t *HBcache[HOTBOARDCACHE]; #endif #if DIRCACHESIZE - fileheader_t dircache[MAX_BOARD][DIRCACHESIZE]; + // Ptt: dricache À³³§ï令¨¥ucache ¼öö­Ìªùù¬Ýݪ©©Á×קKmemory®öö¶O + fileheader_t dircache[MAX_BOARD][DIRCACHESIZE]; #endif time_t busystate_b[MAX_BOARD]; int total[MAX_BOARD]; + unsigned char n_bottom[MAX_BOARD]; /* number of bottom */ int hbfl[MAX_BOARD][MAX_FRIEND + 1]; time_t lastposttime[MAX_BOARD]; time_t Buptime; -- cgit v1.2.3