summaryrefslogtreecommitdiffstats
path: root/include/logind.h
blob: 493d0c0948b348a64fcc143255403b97a82215b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
///////////////////////////////////////////////////////////////////////
// Login Daemon Data

#ifndef _BBS_LOGIND_H

#include "bbs.h"

typedef struct login_data
{
    // size of current structure
    size_t cb;

    // terminal information
    int  t_lines, t_cols;
    int  encoding;
    Fnv32_t client_code;

    // user authentication
    char userid[IDLEN+1];
    char hostip[32+1];

}   login_data;

#endif // _BBS_LOGIND_H

// vim:ts=4:sw=4