summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-05 02:02:31 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-05 02:02:31 +0800
commit880a2e11a9af744c7bc9121c25f81550b5700fdd (patch)
tree16280828ee2ae5c562439ff64e8c426d5380c4fb /include
parentd8196271b07c10a040f258e43f3e4812725f736c (diff)
downloadpttbbs-880a2e11a9af744c7bc9121c25f81550b5700fdd.tar
pttbbs-880a2e11a9af744c7bc9121c25f81550b5700fdd.tar.gz
pttbbs-880a2e11a9af744c7bc9121c25f81550b5700fdd.tar.bz2
pttbbs-880a2e11a9af744c7bc9121c25f81550b5700fdd.tar.lz
pttbbs-880a2e11a9af744c7bc9121c25f81550b5700fdd.tar.xz
pttbbs-880a2e11a9af744c7bc9121c25f81550b5700fdd.tar.zst
pttbbs-880a2e11a9af744c7bc9121c25f81550b5700fdd.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@79 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index ea896dfd..1b1dc44e 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.5 2002/04/03 17:41:10 in2 Exp $ */
+/* $Id: pttstruct.h,v 1.6 2002/04/04 18:02:24 ptt Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -226,7 +226,8 @@ typedef struct userinfo_t {
int friend_online[MAX_FRIEND]; /* point到線上好友 utmpshm的位置 */
/* 好友比較的cache 前兩個bit是狀態 */
int reject[MAX_REJECT];
- int pad[3];
+ int pad[2];
+ int lock;
int friendtotal; /* 好友比較的cache 大小 */
unsigned char msgcount;
msgque_t msgs[MAX_MSGS];
@@ -292,7 +293,7 @@ typedef struct bcache_t {
boardheader_t bcache[MAX_BOARD];
boardheader_t *sorted[2][MAX_BOARD]; /* 0: by name 1: by class */
fileheader_t dircache[MAX_BOARD][DIRCACHESIZE];
- int busystate_b[MAX_BOARD];
+ time_t busystate_b[MAX_BOARD];
int total[MAX_BOARD];
int hbfl[MAX_BOARD][MAX_FRIEND + 1];
time_t lastposttime[MAX_BOARD];