source: tags/arb_5.5/ptpan/hooks.h

Last change on this file was 5566, checked in by boehnel, 16 years ago

Adding PTPan

File size: 558 bytes
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 */
13struct 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
22APTR CallHook(struct Hook *hook);
23
24#endif /* HOOKS_H */
25
Note: See TracBrowser for help on using the repository browser.