summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 00:35:40 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 00:35:40 +0800
commite4d40cffe1660427a8883fd426000b666ea44ed3 (patch)
tree93e6f95c4dd4072266548427db3947169d16a5f4 /include
parentb4649e5a7aea67f478b16232adbe84ec72d0da07 (diff)
downloadpttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.gz
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.bz2
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.lz
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.xz
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.zst
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.zip
* move structure used in UTMPD mode to daemons.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/daemons.h10
-rw-r--r--include/pttstruct.h9
2 files changed, 10 insertions, 9 deletions
diff --git a/include/daemons.h b/include/daemons.h
index 7d6d6217..84168d11 100644
--- a/include/daemons.h
+++ b/include/daemons.h
@@ -51,6 +51,16 @@ typedef struct login_data
} login_data;
+///////////////////////////////////////////////////////////////////////
+// online friend relation daemon
+//
+typedef struct {
+ int index; // 在 SHM->uinfo[index]
+ int uid; // 避免在 cache server 上不同步, 再確認用.
+ int friendstat;
+ int rfriendstat;
+} ocfs_t;
+
#endif // _BBS_DAEMONS_H
// vim:et
diff --git a/include/pttstruct.h b/include/pttstruct.h
index c7a9d57e..200f66ff 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -658,13 +658,4 @@ typedef struct {
char y;
} Horder_t;
-#ifdef UTMPD
-typedef struct {
- int index; // b SHM->uinfo[index]
- int uid; // קKb cache server WPB, AT{.
- int friendstat;
- int rfriendstat;
-} ocfs_t;
-#endif
-
#endif