diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-07 17:17:14 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-07 17:17:14 +0800 |
commit | cf2e032c6b60314e5e92e578f5c3147e11b8fdbd (patch) | |
tree | 4452c8500201f7a19c281347f51df4b621076f7c /include/logind.h | |
parent | 05baed35cab034b942d3c162d2991875d3652607 (diff) | |
download | pttbbs-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
Diffstat (limited to 'include/logind.h')
-rw-r--r-- | include/logind.h | 22 |
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 |