aboutsummaryrefslogtreecommitdiff
path: root/src/struct.h
blob: 18e36a5895967cae465d753effb336466ae31f13 (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
#ifndef _HAVE_ESPIK_STRUCT_H
#define _HAVE_ESPIK_STRUCT_H

typedef struct
{
    char                   *host;
    unsigned short          port;
} t_servinfo;

typedef struct
{
    char                   *nickname;
    char                   *username;
    char                   *realname;   /* gecos */
} t_userinfo;

typedef struct
{
    t_servinfo             *server;
    t_userinfo             *client;
} t_info;

#endif /* _HAVE_ESPIK_STRUCT_H */