summaryrefslogtreecommitdiffstats
path: root/include/logind.h
blob: 8c5c72ae9cee8687819d34042be27eeebe3256e7 (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
27
///////////////////////////////////////////////////////////////////////
// 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[IPV4LEN+1];
    char port  [IDLEN+1];

}   login_data;

#endif // _BBS_LOGIND_H

// vim:et