home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1999 February / CT_SW9902.ISO / pc / software / entwickl / codebib / sha.exe / GlobDef.h < prev    next >
C/C++ Source or Header  |  1999-05-17  |  1KB  |  51 lines

  1. //*****************************************************************
  2. //
  3. //    This code is strictly reserved by SYBERA. It¥s used only for
  4. //    demonstration purposes. Any modification or integration
  5. //    isn¥t allowed without permission by SYBERA.
  6. //
  7. //  Copyright (c) 1998 SYBERA
  8. //
  9. //*****************************************************************
  10. #if !defined(_globdef_)
  11. #define _globdef_
  12.  
  13. #define EVENT_NAME_SIZE    50
  14.  
  15. #ifdef __cplusplus
  16.     #define EXTERN    extern "C"
  17. #else
  18.     #define EXTERN    extern
  19. #endif
  20.  
  21. #define DLL_IMPORT __declspec(dllimport)
  22. #define DLL_EXPORT __declspec(dllexport)
  23.  
  24. //Predefined interface types required for
  25. //packet InterfaceType members  
  26. enum IFT_TYPE
  27. {
  28.     IFT_INTERNAL = 0,    //Interface type : internal resources (e.g. CPU, UART, ...)
  29.     IFT_ISA,            //Interface type : ISA bus
  30.     IFT_EISA,            //Interface type : EISA bus
  31.     IFT_MICROCHANNEL,
  32.     IFT_TURBOCHANNEL,
  33.     IFT_PCIBUS,            //Interface type : PCI bus
  34.     IFT_VMEBUS,
  35.     IFT_NUBUS,
  36.     IFT_PCMCIABUS,
  37.     IFT_CBUS,
  38.     IFT_MPIBUS,
  39.     IFT_MPSABUS,
  40.     IFT_PROCESSORINTERNAL,
  41.     IFT_INTERNALPOWERBUS,
  42.     IFT_PNPISABUS
  43. };
  44.  
  45. //Declare function pointers
  46. typedef void(*FP_DMA)(PVOID);
  47. typedef void(*FP_CALLBACK)(PVOID, PVOID, PVOID);
  48. typedef void(*FP_RING0)(void);
  49.  
  50. #endif //_globdef_
  51.