00001 /* 00002 * XCMCEXT.H 00003 * 00004 * Purpose: 00005 * Specifies constants and data structures for CMC Common extensions 00006 * 00007 */ 00008 00009 #ifndef _XCMCEXT_H 00010 #define _XCMCEXT_H 00011 #pragma option -b 00012 00013 #ifdef __BORLANDC__ 00014 #pragma option -b. 00015 #include <pshpack8.h> 00016 #pragma option -b 00017 #endif 00018 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 00023 /* COMMON EXTENSIONS DECLARATIONS */ 00024 00025 #define CMC_XS_COM ((CMC_uint32) 0) 00026 00027 /* FUNCTION EXTENSIONS */ 00028 00029 /* Query for extension support in implementation */ 00030 #define CMC_X_COM_SUPPORT_EXT ((CMC_uint32) 16) 00031 00032 typedef struct { 00033 CMC_uint32 item_code; 00034 CMC_flags flags; 00035 } CMC_X_COM_support; 00036 00037 #define CMC_X_COM_SUPPORTED ((CMC_flags) 1) 00038 #define CMC_X_COM_NOT_SUPPORTED ((CMC_flags) 2) 00039 #define CMC_X_COM_DATA_EXT_SUPPORTED ((CMC_flags) 4) 00040 #define CMC_X_COM_FUNC_EXT_SUPPORTED ((CMC_flags) 8) 00041 #define CMC_X_COM_SUP_EXCLUDE ((CMC_flags) 16) 00042 00043 /* Get back a structure with configuration data */ 00044 00045 #define CMC_X_COM_CONFIG_DATA ((CMC_uint32) 17) 00046 00047 typedef struct { 00048 CMC_uint16 ver_spec; 00049 CMC_uint16 ver_implem; 00050 CMC_object_identifier FAR *character_set; 00051 CMC_enum line_term; 00052 CMC_string default_service; 00053 CMC_string default_user; 00054 CMC_enum req_password; 00055 CMC_enum req_service; 00056 CMC_enum req_user; 00057 CMC_boolean ui_avail; 00058 CMC_boolean sup_nomkmsgread; 00059 CMC_boolean sup_counted_str; 00060 } CMC_X_COM_configuration; 00061 00062 00063 /* Check to see if/when a recipient can be sent */ 00064 #define CMC_X_COM_CAN_SEND_RECIP ((CMC_uint32) 18) 00065 00066 #define CMC_X_COM_READY ((CMC_enum) 0) 00067 #define CMC_X_COM_NOT_READY ((CMC_enum) 1) 00068 #define CMC_X_COM_DEFER ((CMC_enum) 2) 00069 00070 /* Save a message to the inbox */ 00071 00072 #define CMC_X_COM_SAVE_MESSAGE ((CMC_uint32) 19) 00073 00074 /* Get back a message structure for the message just sent */ 00075 00076 #define CMC_X_COM_SENT_MESSAGE ((CMC_uint32) 20) 00077 00078 /* DATA EXTENSIONS */ 00079 00080 /* attach a receive date to message and message summary structures */ 00081 #define CMC_X_COM_TIME_RECEIVED ((CMC_uint32) 128) 00082 00083 /* attach a unique id to resolved recipient structures */ 00084 #define CMC_X_COM_RECIP_ID ((CMC_uint32) 129) 00085 00086 /* set character position in the message text to display an icon 00087 associated with a particular attachment */ 00088 00089 #define CMC_X_COM_ATTACH_CHARPOS ((CMC_uint32) 130) 00090 00091 #define CMC_X_COM_PRIORITY ((CMC_uint32) 131) 00092 00093 #define CMC_X_COM_NORMAL ((CMC_enum) 0) 00094 #define CMC_X_COM_URGENT ((CMC_enum) 1) 00095 #define CMC_X_COM_LOW ((CMC_enum) 2) 00096 00097 #ifdef __cplusplus 00098 } /* extern "C" */ 00099 #endif 00100 00101 #ifdef __BORLANDC__ 00102 #pragma option -b. 00103 #include <poppack.h> 00104 #pragma option -b 00105 #endif 00106 00107 #pragma option -b. 00108 #endif /* _XCMCEXT_H */ 00109 00110