1 | /* |
1 | /* |
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 | * A hook system. |
5 | * A hook system. |
6 | * |
6 | * |
7 | * $Id: hook.h,v 1.2 2007/07/21 01:29:07 pippijn Exp $ |
7 | * $Id: hook.h,v 1.3 2007/08/28 17:08:06 pippijn Exp $ |
8 | */ |
8 | */ |
9 | #ifndef HOOK_H |
9 | #ifndef HOOK_H |
10 | #define HOOK_H |
10 | #define HOOK_H |
11 | |
11 | |
12 | struct hook_t |
12 | struct hook_t : zero_initialised |
13 | { |
13 | { |
14 | char *name; |
14 | char *name; |
15 | list_t hooks; |
15 | list_t hooks; |
16 | }; |
16 | }; |
17 | |
17 | |