home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sffdk10b.zip / h / entries.h next >
C/C++ Source or Header  |  2001-03-05  |  2KB  |  48 lines

  1. /*
  2. ** Module   :ENTRIES.H
  3. ** Abstract :Describes DLL entry points
  4. **
  5. ** Copyright (C) Link Guard Solutions
  6. ** For conditions of distribution and use, see license in license.txt
  7. **
  8. ** Log: Thu  21/12/2000 Created
  9. **
  10. */
  11.  
  12. #include "sftypes.h"
  13.  
  14. #ifndef __ENTRIES_H
  15. #define __ENTRIES_H
  16.  
  17. #ifndef APIENTRY
  18. #define APIENTRY    _System
  19. #endif
  20.  
  21. typedef void APIENTRY DLLinit(char *name); //DLLinit v.1.0 definition
  22. typedef DLLinit *pDLLinit;
  23. typedef void APIENTRY NDLLinit(char *name, dword *plidx); //DLLinit v.1.1 definition
  24. typedef NDLLinit *pNDLLinit;
  25. #define nDLLinit    200 //DLLinit v.1.0 ordinal
  26. #define nNDLLinit   205 //DLLinit v.1.1 ordinal
  27.  
  28. typedef void APIENTRY DLLsconfig(char *var, char *val); //DLLsconfig v.1.0 definition
  29. typedef DLLsconfig *pDLLsconfig;
  30. typedef void APIENTRY NDLLsconfig(dword plidx, char *var, char *val); //DLLsconfig v.1.1 definition
  31. typedef NDLLsconfig *pNDLLsconfig;
  32. #define nDLLsconfig 201 //DLLsconfig v.1.0 ordinal
  33. #define nNDLLsconfig 206 //DLLsconfig v.1.1 ordinal
  34.  
  35. typedef dword APIENTRY DLLwrite(Bool source, dword proto, char *packet, dword psize, dword idx); //DLLwrite v.1.0 definition
  36. typedef DLLwrite *pDLLwrite;
  37. typedef dword APIENTRY NDLLwrite(dword plidx, Bool source, dword proto, char *packet, dword psize, dword idx); //DLLwrite v.1.1 definition
  38. typedef NDLLwrite *pNDLLwrite;
  39. #define nDLLwrite   202 //DLLwrite v.1.0 ordinal
  40. #define nNDLLwrite  207 //DLLwrite v.1.1 ordinal
  41.  
  42. typedef void APIENTRY NDLLdone(dword plidx); //DLLdone v.1.1 definition
  43. typedef NDLLdone *pNDLLdone;
  44. #define nNDLLdone   208
  45.  
  46. #endif  /*__ENTRIES_H*/
  47.  
  48.