home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / utility / hooks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  502 b   |  26 lines

  1. #ifndef UTILITY_HOOKS_H
  2. #define UTILITY_HOOKS_H
  3.  
  4. /*******************************************************************
  5.  pOS / Amiga adapt
  6. *******************************************************************/
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11. #ifndef __INC_POS_PEXEC_CALLBACK_H
  12. #include <p:pExec/CallBack.h>
  13. #endif
  14.  
  15.  
  16. struct Hook
  17. {
  18.   struct Node h_Node;
  19.   APTR        h_Data;
  20.   ULONG       h_Data2;
  21.   ULONG     (*h_Code)(_R_A0 struct Hook*,_R_A1 APTR);
  22. };
  23.  
  24.  
  25. #endif /* UTILITY_HOOKS_H */
  26.