summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 17:17:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 17:17:14 +0800
commitcf2e032c6b60314e5e92e578f5c3147e11b8fdbd (patch)
tree4452c8500201f7a19c281347f51df4b621076f7c
parent05baed35cab034b942d3c162d2991875d3652607 (diff)
downloadpttbbs-cf2e032c6b60314e5e92e578f5c3147e11b8fdbd.tar
pttbbs-cf2e032c6b60314e5e92e578f5c3147e11b8fdbd.tar.gz
pttbbs-cf2e032c6b60314e5e92e578f5c3147e11b8fdbd.tar.bz2
pttbbs-cf2e032c6b60314e5e92e578f5c3147e11b8fdbd.tar.lz
pttbbs-cf2e032c6b60314e5e92e578f5c3147e11b8fdbd.tar.xz
pttbbs-cf2e032c6b60314e5e92e578f5c3147e11b8fdbd.tar.zst
pttbbs-cf2e032c6b60314e5e92e578f5c3147e11b8fdbd.zip
* rework r4509: add missing file (logind.h)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4510 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/logind.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/logind.h b/include/logind.h
new file mode 100644
index 00000000..0b229faa
--- /dev/null
+++ b/include/logind.h
@@ -0,0 +1,22 @@
+///////////////////////////////////////////////////////////////////////
+// Login Daemon Data
+
+#ifndef _BBS_LOGIND_H
+
+#include "bbs.h"
+
+typedef struct login_data
+{
+ // terminal information
+ int t_lines, t_cols;
+ int encoding;
+
+ // user authentication
+ char userid[IDLEN+1];
+ char hostip[32+1];
+
+} login_data;
+
+#endif // _BBS_LOGIND_H
+
+// vim:ts=4:sw=4