xcmcext.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _XCMCEXT_H
  7. #define _XCMCEXT_H
  8. #include <xcmc.h>
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #define CMC_XS_COM ((CMC_uint32) 0)
  13. #define CMC_X_COM_SUPPORT_EXT ((CMC_uint32) 16)
  14. typedef struct {
  15. CMC_uint32 item_code;
  16. CMC_flags flags;
  17. } CMC_X_COM_support;
  18. #define CMC_X_COM_SUPPORTED ((CMC_flags) 1)
  19. #define CMC_X_COM_NOT_SUPPORTED ((CMC_flags) 2)
  20. #define CMC_X_COM_DATA_EXT_SUPPORTED ((CMC_flags) 4)
  21. #define CMC_X_COM_FUNC_EXT_SUPPORTED ((CMC_flags) 8)
  22. #define CMC_X_COM_SUP_EXCLUDE ((CMC_flags) 16)
  23. #define CMC_X_COM_CONFIG_DATA ((CMC_uint32) 17)
  24. typedef struct {
  25. CMC_uint16 ver_spec;
  26. CMC_uint16 ver_implem;
  27. CMC_object_identifier *character_set;
  28. CMC_enum line_term;
  29. CMC_string default_service;
  30. CMC_string default_user;
  31. CMC_enum req_password;
  32. CMC_enum req_service;
  33. CMC_enum req_user;
  34. CMC_boolean ui_avail;
  35. CMC_boolean sup_nomkmsgread;
  36. CMC_boolean sup_counted_str;
  37. } CMC_X_COM_configuration;
  38. #define CMC_X_COM_CAN_SEND_RECIP ((CMC_uint32) 18)
  39. #define CMC_X_COM_READY ((CMC_enum) 0)
  40. #define CMC_X_COM_NOT_READY ((CMC_enum) 1)
  41. #define CMC_X_COM_DEFER ((CMC_enum) 2)
  42. #define CMC_X_COM_SAVE_MESSAGE ((CMC_uint32) 19)
  43. #define CMC_X_COM_SENT_MESSAGE ((CMC_uint32) 20)
  44. #define CMC_X_COM_TIME_RECEIVED ((CMC_uint32) 128)
  45. #define CMC_X_COM_RECIP_ID ((CMC_uint32) 129)
  46. #define CMC_X_COM_ATTACH_CHARPOS ((CMC_uint32) 130)
  47. #define CMC_X_COM_PRIORITY ((CMC_uint32) 131)
  48. #define CMC_X_COM_NORMAL ((CMC_enum) 0)
  49. #define CMC_X_COM_URGENT ((CMC_enum) 1)
  50. #define CMC_X_COM_LOW ((CMC_enum) 2)
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54. #endif