1 | /* |
1 | /* |
2 | * Copyright © 2005 Atheme Development Group |
2 | * Copyright © 2005 Atheme Development Group |
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 | * Remote authentication ticket management. |
5 | * Remote authentication ticket management. |
6 | * |
6 | * |
7 | * $Id: authcookie.h,v 1.2 2007/07/21 01:29:07 pippijn Exp $ |
7 | * $Id: authcookie.h,v 1.3 2007/08/28 17:08:06 pippijn Exp $ |
8 | */ |
8 | */ |
9 | |
9 | |
10 | #ifndef AUTHCOOKIE_H |
10 | #ifndef AUTHCOOKIE_H |
11 | #define AUTHCOOKIE_H |
11 | #define AUTHCOOKIE_H |
12 | |
12 | |
13 | struct authcookie_t |
13 | struct authcookie_t : zero_initialised |
14 | { |
14 | { |
15 | char *ticket; |
15 | char *ticket; |
16 | myuser_t *myuser; |
16 | myuser_t *myuser; |
17 | time_t expire; |
17 | time_t expire; |
18 | node_t node; |
18 | node_t node; |