| 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 |  | 
 
 
 
 
 | 9 | #include <xcmc.h> | 
 
 
 
 
 | 10 |  | 
 
 
 
 
 | 11 | #ifdef __cplusplus | 
 
 
 
 
 | 12 | extern "C" { | 
 
 
 
 
 | 13 | #endif | 
 
 
 
 
 | 14 |  | 
 
 
 
 
 | 15 | #define CMC_XS_COM ((CMC_uint32) 0) | 
 
 
 
 
 | 16 | #define CMC_X_COM_SUPPORT_EXT ((CMC_uint32) 16) | 
 
 
 
 
 | 17 |  | 
 
 
 
 
 | 18 | typedef struct { | 
 
 
 
 
 | 19 | CMC_uint32 item_code; | 
 
 
 
 
 | 20 | CMC_flags flags; | 
 
 
 
 
 | 21 | } CMC_X_COM_support; | 
 
 
 
 
 | 22 |  | 
 
 
 
 
 | 23 | #define CMC_X_COM_SUPPORTED ((CMC_flags) 1) | 
 
 
 
 
 | 24 | #define CMC_X_COM_NOT_SUPPORTED ((CMC_flags) 2) | 
 
 
 
 
 | 25 | #define CMC_X_COM_DATA_EXT_SUPPORTED ((CMC_flags) 4) | 
 
 
 
 
 | 26 | #define CMC_X_COM_FUNC_EXT_SUPPORTED ((CMC_flags) 8) | 
 
 
 
 
 | 27 | #define CMC_X_COM_SUP_EXCLUDE ((CMC_flags) 16) | 
 
 
 
 
 | 28 |  | 
 
 
 
 
 | 29 | #define CMC_X_COM_CONFIG_DATA ((CMC_uint32) 17) | 
 
 
 
 
 | 30 |  | 
 
 
 
 
 | 31 | typedef struct { | 
 
 
 
 
 | 32 | CMC_uint16 ver_spec; | 
 
 
 
 
 | 33 | CMC_uint16 ver_implem; | 
 
 
 
 
 | 34 | CMC_object_identifier *character_set; | 
 
 
 
 
 | 35 | CMC_enum line_term; | 
 
 
 
 
 | 36 | CMC_string default_service; | 
 
 
 
 
 | 37 | CMC_string default_user; | 
 
 
 
 
 | 38 | CMC_enum req_password; | 
 
 
 
 
 | 39 | CMC_enum req_service; | 
 
 
 
 
 | 40 | CMC_enum req_user; | 
 
 
 
 
 | 41 | CMC_boolean ui_avail; | 
 
 
 
 
 | 42 | CMC_boolean sup_nomkmsgread; | 
 
 
 
 
 | 43 | CMC_boolean sup_counted_str; | 
 
 
 
 
 | 44 | } CMC_X_COM_configuration; | 
 
 
 
 
 | 45 |  | 
 
 
 
 
 | 46 | #define CMC_X_COM_CAN_SEND_RECIP ((CMC_uint32) 18) | 
 
 
 
 
 | 47 | #define CMC_X_COM_READY ((CMC_enum) 0) | 
 
 
 
 
 | 48 | #define CMC_X_COM_NOT_READY ((CMC_enum) 1) | 
 
 
 
 
 | 49 | #define CMC_X_COM_DEFER ((CMC_enum) 2) | 
 
 
 
 
 | 50 | #define CMC_X_COM_SAVE_MESSAGE ((CMC_uint32) 19) | 
 
 
 
 
 | 51 | #define CMC_X_COM_SENT_MESSAGE ((CMC_uint32) 20) | 
 
 
 
 
 | 52 | #define CMC_X_COM_TIME_RECEIVED ((CMC_uint32) 128) | 
 
 
 
 
 | 53 | #define CMC_X_COM_RECIP_ID ((CMC_uint32) 129) | 
 
 
 
 
 | 54 | #define CMC_X_COM_ATTACH_CHARPOS ((CMC_uint32) 130) | 
 
 
 
 
 | 55 | #define CMC_X_COM_PRIORITY ((CMC_uint32) 131) | 
 
 
 
 
 | 56 | #define CMC_X_COM_NORMAL ((CMC_enum) 0) | 
 
 
 
 
 | 57 | #define CMC_X_COM_URGENT ((CMC_enum) 1) | 
 
 
 
 
 | 58 | #define CMC_X_COM_LOW ((CMC_enum) 2) | 
 
 
 
 
 | 59 |  | 
 
 
 
 
 | 60 | #ifdef __cplusplus | 
 
 
 
 
 | 61 | } | 
 
 
 
 
 | 62 | #endif | 
 
 
 
 
 | 63 | #endif |