summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-10 11:30:54 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-10 11:30:54 +0800
commitf63fd767f682e9eb4d5a2ca37c5884e4a5441b12 (patch)
tree017fa67cb2cf11904fb0643ad6763d15e321497a /include/pttstruct.h
parentb9f232fd155fd9c8bf6428d49dfdd392bcc6779e (diff)
downloadpttbbs-f63fd767f682e9eb4d5a2ca37c5884e4a5441b12.tar
pttbbs-f63fd767f682e9eb4d5a2ca37c5884e4a5441b12.tar.gz
pttbbs-f63fd767f682e9eb4d5a2ca37c5884e4a5441b12.tar.bz2
pttbbs-f63fd767f682e9eb4d5a2ca37c5884e4a5441b12.tar.lz
pttbbs-f63fd767f682e9eb4d5a2ca37c5884e4a5441b12.tar.xz
pttbbs-f63fd767f682e9eb4d5a2ca37c5884e4a5441b12.tar.zst
pttbbs-f63fd767f682e9eb4d5a2ca37c5884e4a5441b12.zip
add HOTBOARDCACHE
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r--include/pttstruct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index a9775d0b..550b9437 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -365,6 +365,10 @@ typedef struct {
int BMcache[MAX_BOARD][MAX_BMs];
boardheader_t bcache[MAX_BOARD];
boardheader_t *bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */
+#if HOTBOARDCACHE
+ char nHOTs;
+ boardheader_t *HBcache[HOTBOARDCACHE];
+#endif
#if DIRCACHESIZE
fileheader_t dircache[MAX_BOARD][DIRCACHESIZE];
#endif