Line | |
---|
1 | /************************************************************************ |
---|
2 | Definition for call back hooks |
---|
3 | Written by Chris Hodges <hodges@in.tum.de>. |
---|
4 | Last change: 06.05.03 |
---|
5 | ************************************************************************/ |
---|
6 | |
---|
7 | #ifndef HOOKS_H |
---|
8 | #define HOOKS_H |
---|
9 | |
---|
10 | #include "dlist.h" |
---|
11 | |
---|
12 | /* standard callback hook */ |
---|
13 | struct Hook |
---|
14 | { |
---|
15 | struct Node h_Node; /* node for linkage */ |
---|
16 | APTR (*h_Func)(struct Hook *); /* calling function */ |
---|
17 | APTR h_UserData; |
---|
18 | }; |
---|
19 | |
---|
20 | /* prototypes */ |
---|
21 | |
---|
22 | APTR CallHook(struct Hook *hook); |
---|
23 | |
---|
24 | #endif /* HOOKS_H */ |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.