diff options
-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 |