1 #ifndef UTILITY_HOOKS_H
    2 #define UTILITY_HOOKS_H
    3 
    4 /*
    5 	utility.library hook defines
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef EXEC_TYPES_H
   11 # include <exec/types.h>
   12 #endif
   13 
   14 #ifndef EXEC_NODES_H
   15 # include <exec/nodes.h>
   16 #endif
   17 
   18 #ifdef __cplusplus
   19 extern "C" {
   20 #endif
   21 
   22 #pragma pack(2)
   23 
   24 struct Hook
   25 {
   26 	struct MinNode   h_MinNode;
   27 	ULONG          (*h_Entry)(VOID);
   28 	ULONG          (*h_SubEntry)(VOID);
   29 	APTR             h_Data;
   30 };
   31 
   32 typedef ULONG (*HOOKFUNC)(VOID);
   33 
   34 
   35 #pragma pack()
   36 
   37 #ifdef __cplusplus
   38 }
   39 #endif
   40 
   41 #endif /* UTILITY_HOOKS_H */