summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-04 17:48:27 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-04 17:48:27 +0800
commit431ac04533837d4d6bf8d01314f5c3e794e4a2a6 (patch)
treeea809f1e6a3bfe56fbc4f25d732231e1a6377c81 /include
parent911a0f4f78bf10384e32bd96cc2a2742b7005d94 (diff)
downloadpttbbs-outtacache.tar
pttbbs-outtacache.tar.gz
pttbbs-outtacache.tar.bz2
pttbbs-outtacache.tar.lz
pttbbs-outtacache.tar.xz
pttbbs-outtacache.tar.zst
pttbbs-outtacache.zip
completeouttacache
git-svn-id: http://opensvn.csie.org/pttbbs/branches/outtacache@1687 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h2
-rw-r--r--include/pttstruct.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index f291f74d..9851a9e0 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -565,7 +565,7 @@ int t_talk();
int t_display();
int my_query(char *uident);
int logout_friend_online();
-int login_friend_online();
+void login_friend_online();
int isvisible_uid(int tuid);
int friend_stat(userinfo_t *me, userinfo_t * ui);
int call_in(userinfo_t *uentp, int fri_stat);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 9f950c92..5895c31d 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -477,4 +477,14 @@ typedef struct
time_t chrono;
int recno;
} TagItem;
+
+#ifdef OUTTACACHE
+typedef struct {
+ int index; // 在 SHM->uinfo[index]
+ int uid; // 避免在 cache server 上不同步, 再確認用.
+ int friendstat;
+ int rfriendstat;
+} ocfs_t;
+#endif
+
#endif