… | |
… | |
2 | * Copyright © 2005 William Pitcock, et al. |
2 | * Copyright © 2005 William Pitcock, et al. |
3 | * Rights to this code are as documented in doc/pod/license.pod. |
3 | * Rights to this code are as documented in doc/pod/license.pod. |
4 | * |
4 | * |
5 | * Data structures for connected clients. |
5 | * Data structures for connected clients. |
6 | * |
6 | * |
7 | * $Id: users.h,v 1.3 2007/08/28 17:08:07 pippijn Exp $ |
7 | * $Id: users.h,v 1.4 2007/09/09 20:05:51 pippijn Exp $ |
8 | */ |
8 | */ |
9 | |
9 | |
10 | #ifndef USERS_H |
10 | #ifndef USERS_H |
11 | #define USERS_H |
11 | #define USERS_H |
12 | |
12 | |
… | |
… | |
25 | functor::callback1<user_t *> oper; |
25 | functor::callback1<user_t *> oper; |
26 | functor::callback1<user_t *> deoper; |
26 | functor::callback1<user_t *> deoper; |
27 | }; |
27 | }; |
28 | |
28 | |
29 | public: |
29 | public: |
30 | int mu_index; // index used in myuser_t::login_vector |
30 | unsigned mu_index; // index used in myuser_t::login_vector |
31 | |
31 | |
32 | char nick[NICKLEN]; |
32 | char nick[NICKLEN]; |
33 | char user[USERLEN]; |
33 | char user[USERLEN]; |
34 | char host[HOSTLEN]; /* Real host */ |
34 | char host[HOSTLEN]; /* Real host */ |
35 | char gecos[GECOSLEN]; |
35 | char gecos[GECOSLEN]; |