home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 35 / hot35.iso / ficheros / LC / SEE4C10.ZIP / SEE.H2 < prev    next >
Text File  |  1998-05-22  |  2KB  |  60 lines

  1. /*  see.h (see.h2)
  2. **
  3. **  Use for both Win16 & Win32.
  4. **
  5. **  For Win32 compilers supporting the "declspec" keyword.
  6. */
  7.  
  8.  
  9. #ifdef WIN32
  10.   #ifdef DLL_SOURCE_CODE
  11.      #define DLL_IMPORT_EXPORT __declspec(dllexport) __stdcall
  12.   #else
  13.      #define DLL_IMPORT_EXPORT __declspec(dllimport) __stdcall
  14.   #endif
  15. #else
  16.   #define DLL_IMPORT_EXPORT FAR PASCAL
  17. #endif
  18.  
  19. #ifdef __cplusplus
  20.   #define NoMangle extern "C"
  21. #else
  22.   #define NoMangle
  23. #endif
  24.  
  25. #define SEE_MIN_RESPONSE_WAIT  1
  26. #define SEE_MAX_RESPONSE_WAIT  2
  27. #define SEE_CONNECT_WAIT       3
  28. #define SEE_MIN_LINE_WAIT      5
  29. #define SEE_MAX_LINE_WAIT      6
  30. #define SEE_QUOTED_PRINTABLE   8
  31. #define SEE_AUTO_CALL_DRIVER   9
  32. #define SEE_LOG_FILE          20
  33.  
  34. #define SEE_GET_ERROR_TEXT     1
  35. #define SEE_GET_COUNTER        2
  36. #define SEE_GET_RESPONSE       3
  37. #define SEE_GET_SOCK_ERROR     4
  38.  
  39. #define SEE_GET_MESSAGE_BYTES_READ  10
  40. #define SEE_GET_ATTACH_BYTES_READ   11
  41. #define SEE_GET_TOTAL_BYTES_READ    12
  42. #define SEE_GET_MESSAGE_BYTES_SENT  13
  43. #define SEE_GET_ATTACH_BYTES_SENT   14
  44. #define SEE_GET_TOTAL_BYTES_SENT    15
  45.  
  46. #define BYTE  unsigned char
  47. #define WORD  unsigned int
  48. #define ULONG unsigned long
  49.  
  50. NoMangle int DLL_IMPORT_EXPORT seeClose(void);
  51. NoMangle int DLL_IMPORT_EXPORT seeConnectTo(LPSTR,LPSTR,LPSTR);
  52. NoMangle int DLL_IMPORT_EXPORT seeDebug(int,LPSTR,int);
  53. NoMangle int DLL_IMPORT_EXPORT seeDriver(void);
  54. NoMangle int DLL_IMPORT_EXPORT seeErrorText(int,LPSTR,int);
  55. NoMangle int DLL_IMPORT_EXPORT seeIntegerParam(int,ULONG);
  56. NoMangle int DLL_IMPORT_EXPORT seeSendEmail(LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR);
  57. NoMangle ULONG DLL_IMPORT_EXPORT seeStatistics(int);
  58. NoMangle int DLL_IMPORT_EXPORT seeStringParam(int,LPSTR);
  59. NoMangle int DLL_IMPORT_EXPORT seeVerifyFormat(LPSTR);
  60.