summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-15 20:05:52 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-15 20:05:52 +0800
commit1a77a39f25006a3f73b36365220c3168c59f9fd2 (patch)
tree9c4fc1c9715dfeaad11cb8bcc159b6cf23e9c417 /include
parent5894f7afe1f35469e766a3c3fd6f6b0ee806a31a (diff)
downloadpttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.gz
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.bz2
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.lz
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.xz
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.zst
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.zip
MDCACHE
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@103 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h4
-rw-r--r--include/pttstruct.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h
index 8604aab5..f5ceeb6e 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.4 2002/03/14 08:17:43 in2 Exp $ */
+/* $Id: proto.h,v 1.5 2002/04/15 12:05:49 in2 Exp $ */
#ifndef INCLUDE_PROTO_H
#define INCLUDE_PROTO_H
@@ -108,6 +108,8 @@ userinfo_t *search_ulist_pid(int pid);
int moneyof(int uid);
void hbflreload(int bid);
int hbflcheck(int bid, int uid);
+char *cachepath(const char *fpath);
+int updatemdcache(const char *cpath, const char *fpath);
/* cal */
int vice(int money, char* item);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 1b1dc44e..a88bafab 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.6 2002/04/04 18:02:24 ptt Exp $ */
+/* $Id: pttstruct.h,v 1.7 2002/04/15 12:05:50 in2 Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -333,6 +333,9 @@ struct pttcache_t {
time_t uptime;
time_t touchtime;
int busystate;
+
+ int GLOBE[10]; /* mbbsd間的 globe var
+ 用以做統計等資料 */
};
typedef struct fromcache_t {