Go to the documentation of this file. 23 #define X400_API_VERSN 19000000 29 #define X400_MSG_MESSAGE 1 32 #define X400_MSG_REPORT 2 35 #define X400_MSG_PROBE 3 38 #define X400_MSG_SUBMITTED_MESSAGE 4 46 #define X400_E_NOERROR 0 49 #define X400_E_SYSERROR 1 52 #define X400_E_NOMEMORY 2 55 #define X400_E_BADPARAM 3 58 #define X400_E_INT_ERROR 4 61 #define X400_E_CONFIG_ERROR 5 67 #define X400_E_NO_CHANNEL 7 70 #define X400_E_INV_MSG 8 73 #define X400_E_NOCONNECT 10 76 #define X400_E_BADCREDENTIALS 11 79 #define X400_E_CONNECT_REJ 12 82 #define X400_E_QMGR_CONGESTED 13 85 #define X400_E_BAD_QMGR_RESP 14 88 #define X400_E_MISSING_ATTR 20 91 #define X400_E_CONFLICT_ATTR 21 94 #define X400_E_INVALID_ATTR 22 97 #define X400_E_INVALID_VALUE 23 100 #define X400_E_NO_VALUE 24 103 #define X400_E_NO_MESSAGE 30 106 #define X400_E_TIMED_OUT 31 109 #define X400_E_NO_RECIP 32 112 #define X400_E_NOSPACE 33 115 #define X400_E_ATTRIBUTE_ALREADY_PRESENT 34 118 #define X400_E_ADDRESS_ERROR 64 121 #define X400_E_BUFFER_FILE_ERROR 65 124 #define X400_E_BUFFER_FILENAME_ERROR 66 127 #define X400_E_BUFFER_TYPE_ERROR 67 130 #define X400_E_CONTENT_ERROR 68 133 #define X400_E_CONTENT_DATA_ERROR 69 136 #define X400_E_CONTENT_INIT_ERROR 70 139 #define X400_E_CONTENT_BODY_ERROR 71 142 #define X400_E_INIT_ERROR 72 145 #define X400_E_MESSAGE_ERROR 73 148 #define X400_E_NO_CONTENT 74 151 #define X400_E_ORIGINATOR_ERROR 75 154 #define X400_E_PARMS_ERROR 76 157 #define X400_E_RECIPIENT_ERROR 77 160 #define X400_E_TRANSFERABLE_ERROR 78 163 #define X400_E_REPORT_ERROR 79 166 #define X400_E_COMPLEX_BODY 80 169 #define X400_E_MESSAGE_BODY 81 172 #define X400_E_UNSUPPORTED_BODY 82 175 #define X400_E_X509_ENV 83 178 #define X400_E_X509_INTERNAL_ERROR 84 181 #define X400_E_X509_INIT 85 184 #define X400_E_X509_VERIFY_FAIL_NO_CERT 87 187 #define X400_E_X509_VERIFY_FAIL_NO_PUBKEY 88 190 #define X400_E_X509_VERIFY_FAIL_INCOMPAT_ALG 89 193 #define X400_E_X509_VERIFY_FAIL_UNSUPPORTED_ALG 90 196 #define X400_E_X509_VERIFY_FAIL 91 199 #define X400_E_X509_CERT_INVALID 92 202 #define X400_E_X509_ITEM_INVALID 93 205 #define X400_E_SIGN_NO_IDENTITY 94 208 #define X400_E_SIGN 95 211 #define X400_E_NONDELIVERED 96 214 #define X400_E_NO_MORE_RESULTS 99 217 #define X400_E_WAIT_WRITE 100 220 #define X400_E_WAIT_READ 101 223 #define X400_E_WAIT_READ_WRITE 102 226 #define X400_E_CONNECTION_LOST 110 229 #define X400_E_SHUTDOWN 111 232 #define X400_E_NO_MATCH 112 235 #define X400_E_S4406_TRIPLE_WRAPPED 113 238 #define X400_E_P7_ATTRIBUTE_ERROR 114 241 #define X400_E_P7_AUTOACTION_REQUEST_ERROR 115 244 #define X400_E_P7_DELETE_ERROR 116 247 #define X400_E_P7_INVALID_PARAMETERS_ERROR 117 250 #define X400_E_P7_RANGE_ERROR 118 253 #define X400_E_P7_SERVICE_ERROR 119 256 #define X400_E_P7_SUBMISSION_CONTROL_VIOLATED 120 259 #define X400_E_P7_ELEMENT_OF_SERVICE_NOT_SUBSCRIBED 121 262 #define X400_E_P7_MESSAGE_SUBMISSION_IDENTIFIER_INVALID 122 265 #define X400_E_P7_INCONSISTENT_REQUEST_ERROR 123 268 #define X400_E_P7_UNSUPPORTED_CRITICAL_FUNCTION 124 271 #define X400_E_P7_REMOTE_BIND_ERROR 125 274 #define X400_E_P7_FETCH_RESTRICTION_ERROR 126 277 #define X400_E_P7_SECURITY_ERROR 127 280 #define X400_E_TEMPORARY_ERROR 128 296 #define X400_RECIP_PRIMARY 0x10001 299 #define X400_RECIP_CC 0x10002 302 #define X400_RECIP_BCC 0x10003 305 #define X400_ORIGINATOR 0x10004 308 #define X400_AUTH_ORIG 0x10005 311 #define X400_RECIP_REPLY 0x10006 314 #define X400_RECIP_REPORT 0x10008 317 #define X400_RECIP_INTENDED 0x10009 320 #define X400_REPORTING_DL_NAME 0x1000A 323 #define X400_DL_EXEMPTED_RECIP 0x1000B 332 #define X400_EXEMPTED_ADDRESS 0x10010 335 #define X400_RECIP_ENVELOPE 0x20000 338 #define X400_RECIP_INVALID 0x30000 341 #define X400_RECIP_STANDARD (X400_RECIP_PRIMARY+X400_RECIP_ENVELOPE) 349 #define X400_S_OR_ADDRESS 1 352 #define X400_S_COUNTRY_NAME 2 355 #define X400_S_ADMD_NAME 3 358 #define X400_S_PRMD_NAME 4 361 #define X400_S_ORGANIZATION_NAME 5 364 #define X400_S_ORGANIZATIONAL_UNIT_NAME_1 6 367 #define X400_S_ORGANIZATIONAL_UNIT_NAME_2 7 370 #define X400_S_ORGANIZATIONAL_UNIT_NAME_3 8 373 #define X400_S_ORGANIZATIONAL_UNIT_NAME_4 9 376 #define X400_S_SURNAME 10 379 #define X400_S_GIVEN_NAME 11 384 #define X400_S_INITIALS 12 389 #define X400_S_GENERATION_QUALIFIER 13 394 #define X400_S_COMMON_NAME 14 397 #define X400_S_DIRECTORY_NAME 20 405 #define X400_S_MESSAGE_IDENTIFIER 100 408 #define X400_N_CONTENT_TYPE 101 411 #define X400_N_CONTENT_LENGTH 102 414 #define X400_S_CONTENT_IDENTIFIER 103 417 #define X400_S_ORIGINAL_ENCODED_INFORMATION_TYPES 104 422 #define X400_N_PRIORITY 105 427 #define X400_N_DISCLOSURE 106 430 #define X400_N_IMPLICIT_CONVERSION_PROHIBITED 107 433 #define X400_N_ALTERNATE_RECIPIENT_ALLOWED 108 436 #define X400_N_CONTENT_RETURN_REQUEST 109 439 #define X400_S_MESSAGE_SUBMISSION_TIME 110 442 #define X400_S_MESSAGE_DELIVERY_TIME 111 447 #define X400_S_EXTERNAL_CONTENT_TYPE 112 455 #define X400_N_RECIPIENT_REASSIGNMENT_PROHIBITED 120 458 #define X400_N_DL_EXPANSION_PROHIBITED 121 461 #define X400_N_CONVERSION_WITH_LOSS_PROHIBITED 122 464 #define X400_S_LATEST_DELIVERY_TIME 123 467 #define X400_S_ORIGINATOR_RETURN_ADDRESS 124 470 #define X400_S_OBJECTTYPE 125 473 #define X400_N_MMTS_PRIORITY_QUALIFIER 126 476 #define X400_S_DEFERRED_DELIVERY_TIME 127 479 #define X400_S_DLEXP_TIME 128 481 #define X400_S_GLOBAL_DOMAIN_ID 129 484 #define X400_S_DSI_ARRIVAL_TIME 130 487 #define X400_N_DSI_ROUTING_ACTION 131 490 #define X400_S_DSI_ATTEMPTED_DOMAIN 132 493 #define X400_S_DSI_AA_DEF_TIME 133 496 #define X400_S_DSI_AA_CEIT 134 499 #define X400_N_DSI_AA_REDIRECTED 135 502 #define X400_N_DSI_AA_DLOPERATION 136 505 #define X400_S_CONTENT_CORRELATOR 137 508 #define X400_N_REDIRECTION_REASON 138 511 #define X400_S_REDIRECTION_TIME 139 514 #define X400_N_CONTENT_RETURNED 140 517 #define X400_S_CONTENT_CORRELATOR_IA5_STRING X400_S_CONTENT_CORRELATOR 520 #define X400_S_CONTENT_CORRELATOR_OCTET_STRING 141 554 #define X400_S_SEC_IDENTITY 180 557 #define X400_B_SEC_GEN_MOAC 181 560 #define X400_S_SEC_IDENTITY_PASSPHRASE 182 563 #define X400_S_SEC_IDENTITY_DN 183 566 #define X400_S_SEC_ENV 186 569 #define X400_S_MOAC 187 572 #define X400_N_MOAC_STATUS 188 575 #define X400_S_CERT_INFO 189 578 #define X400_S_SEC_IDENTITY_FILE 190 581 #define X400_S_SEC_TRUSTED_CERTS_DIR 191 585 #define X400_S_SEC_SECURITY_DB 192 588 #define X400_S_SEC_SECURITY_PASSPHRASE 193 591 #define X400_S_SEC_SIGNING_URI 194 596 #define X400_S_SECURITY_ENV 195 599 #define X400_N_S4406 440600 608 #define X400_N_S4406_STATUS 440601 614 #define X400_S_S4406_STATUS_DETAIL 440602 619 #define X400_S_S4406_SECURITY_LABEL 440603 624 #define X400_N_S4406_CERTIFICATE 440604 629 #define X400_S_S4406_SIGNING_TIME 440605 640 #define X400_N_ORIGINAL_RECIPIENT_NUMBER 200 643 #define X400_N_RESPONSIBILITY 201 646 #define X400_N_MTA_REPORT_REQUEST 202 654 #define X400_N_REPORT_REQUEST 203 662 #define X400_S_ORIGINATOR_REQUESTED_ALTERNATE_RECIPIENT 204 666 #define X400_S_ORIGINATOR_REQUESTED_ALTERNATE_RECIPIENT_DN 205 670 #define X400_S_FREE_FORM_NAME 221 673 #define X400_S_TELEPHONE_NUMBER 222 676 #define X400_N_NOTIFICATION_REQUEST 223 683 #define X400_N_REPLY_REQUESTED 224 686 #define X400_N_PRECEDENCE 225 689 #define X400_S_ORIGINAL_RECIPIENT_ADDRESS 226 694 #define X400_S_CONVERTED_ENCODED_INFORMATION_TYPES 227 702 #define X400_S_IPM_IDENTIFIER 300 723 #define X400_S_SUBJECT 301 726 #define X400_S_REPLIED_TO_IDENTIFIER 302 730 #define X400_S_OBSOLETED_IPMS 303 734 #define X400_S_RELATED_IPMS 304 737 #define X400_S_EXPIRY_TIME 305 740 #define X400_S_REPLY_TIME 306 743 #define X400_N_IMPORTANCE 307 746 #define X400_N_SENSITIVITY 308 749 #define X400_N_AUTOFORWARDED 309 752 #define X400_S_SENT_IPM_IDENTIFIER 310 756 #define X400_S_AUTHORIZATION_TIME 320 759 #define X400_S_ORIGINATORS_REFERENCE 321 762 #define X400_S_PRECEDENCE_POLICY_ID 322 767 #define X400_S_CONTENT_STRING 350 772 #define X400_S_CONTENT_FILENAME 351 782 #define X400_N_DECODE_CONTENT 352 796 #define X400_N_NUM_ATTACHMENTS 400 799 #define X400_T_IA5TEXT 401 802 #define X400_T_BINARYTEXT 461 809 #define X400_T_ISO8859_1 402 817 #define X400_T_ISO8859_2 403 825 #define X400_T_BINARY 404 828 #define X400_T_MESSAGE 405 834 #define X400_T_FTBP 406 841 #define X400_T_GENERAL_TEXT 407 848 #define X400_T_TELETEX 460 855 #define X400_S_EXT_AUTH_INFO 408 858 #define X400_N_EXT_CODRESS 409 861 #define X400_N_EXT_MSG_TYPE 410 864 #define X400_N_EXT_PRIM_PREC 411 867 #define X400_N_EXT_COPY_PREC 412 870 #define X400_PRINTABLE_STRING_SEQ 413 873 #define X400_S_HANDLING_INSTRUCTIONS 414 877 #define X400_S_MESSAGE_INSTRUCTIONS 415 882 #define X400_S_ORIG_REF 416 885 #define X400_S_ORIG_PLAD 417 888 #define X400_S_DIST_CODES_SIC 418 891 #define X400_DIST_CODES_EXT 419 894 #define X400_S_DIST_CODES_EXT_OID 420 897 #define X400_S_DIST_CODES_EXT_VALUE 421 900 #define X400_OTHER_RECIP_INDICATOR 422 903 #define X400_S_PILOT_FWD_INFO 423 906 #define X400_S_ACP127_MSG_ID 424 909 #define X400_ACP127_RESPONSE 425 912 #define X400_N_ACP127_NOTI_TYPE 426 915 #define X400_S_INFO_SEC_LABEL 427 918 #define X400_N_ADATP3_PARM 428 921 #define X400_N_ADATP3_CHOICE 429 924 #define X400_S_ADATP3_DATA 430 927 #define X400_T_ADATP3 431 930 #define X400_T_CORRECTIONS 432 933 #define X400_N_CORREC_PARM 433 936 #define X400_S_CORREC_DATA 434 939 #define X400_T_ACP127DATA 435 942 #define X400_N_ACP127DATA_PARM 436 945 #define X400_S_ACP127_DATA 437 948 #define X400_T_MM 438 951 #define X400_T_FWDENC 439 954 #define X400_S_ENCRYPTED_DATA 440 960 #define X400_S_FWD_CONTENT_STRING 441 966 #define X400_T_FWD_CONTENT 442 969 #define X400_S_ORIG_OR_EXAP_TIME 443 972 #define X400_ORIG_OR_EXAP 444 975 #define X400_S_ORIG_CERT 445 978 #define X400_N_PROOF_OF_DEL_REQ 446 981 #define X400_S_EXT_MSG_IDENTIFIER 447 985 #define X400_S_ENCRYPTED_DATA_BYTES_ONLY 448 992 #define X400_T_ISO646 449 1005 #define X400_N_IS_IPN 500 1008 #define X400_S_SUBJECT_IPM 501 1011 #define X400_S_CONVERSION_EITS 502 1014 #define X400_N_NON_RECEIPT_REASON 510 1017 #define X400_N_DISCARD_REASON 511 1022 #define X400_S_AUTOFORWARD_COMMENT 512 1025 #define X400_S_RECEIPT_TIME 520 1028 #define X400_N_ACK_MODE 521 1031 #define X400_S_SUPP_RECEIPT_INFO 522 1039 #define X400_S_SUBJECT_IDENTIFIER 600 1042 #define X400_S_SUPPLEMENTARY_INFO 610 1045 #define X400_N_TYPE_OF_USER 611 1048 #define X400_S_ARRIVAL_TIME 612 1051 #define X400_N_NON_DELIVERY_REASON 613 1054 #define X400_N_NON_DELIVERY_DIAGNOSTIC 614 1063 #define X400_S_LOG_CONFIGURATION 700 1068 #define X400_N_REPORTS 701 1078 #define X400_S_CONTENT_FILE_PATH 702 1085 #define X400_N_WAIT_INTERVAL 703 1092 #define X400_S_LOG_CONFIGURATION_FILE 704 1099 #define X400_B_RETURN_VERIFICATION_ERRORS 705 1113 #define X400_ADATP3_SEP 706 1119 #define X400_N_CHECKCONNECTION_TIMEOUT 706 1130 #define X400_S_PRIVATE_OID_PCT_EQUIVALENT 707 1136 #define X400_N_OR_CANONICAL 708 1144 #define X400_S_GRAPHIC_CHARSETS 709 1151 #define X400_S_TELETEX_CHARSETS 710 1158 #define X400_S_LIST_ATTR 750 1167 #define X400_N_BODY_TYPE 800 1170 #define X400_S_BODY_DATA 801 1175 #define X400_S_GENERAL_TEXT_CHARSETS 802 1181 #define X400_N_FTBP_ENCODING 803 1189 #define X400_S_FTBP_APPLICATION_REFERENCE_OID 804 1194 #define X400_S_FTBP_APPLICATION_REFERENCE_STR 805 1200 #define X400_S_FTBP_CONTENT_DESCRIPTION 806 1203 #define X400_S_FTBP_FILENAME 807 1206 #define X400_S_FTBP_CREATION_DATE 808 1209 #define X400_S_FTBP_MODIFICATION_DATE 809 1212 #define X400_S_FTBP_READ_DATE 810 1215 #define X400_N_FTBP_OBJECT_SIZE 811 1220 #define X400_S_BODY_DATA_RAW 812 1229 #define X400_N_MS_ENTRY_STATUS 900 1232 #define X400_N_MS_SEQUENCE_NUMBER 901 1235 #define X400_N_DELETE_AFTER_AUTO_FORWARDING 902 1238 #define X400_S_AUTO_FORWARDING_COMMENT 903 1242 #define X400_S_COVER_NOTE 904 1245 #define X400_S_THIS_IPM_PREFIX 905 1248 #define X400_N_DELAYED_AUTOFORWARDING_INTERVAL 906 1252 #define X400_N_FIRST_SEQUENCE_NUMBER 907 1269 #define X400_N_STRICT_P7_1988 908 1276 #define X400_N_USE_EXTENDED_SUBJECT 909 1283 #define X400_N_ERROR_DUPLICATE_ATTRIBUTE 910 1294 #define X400_MS_ENTRY_STATUS_NEW 1 1297 #define X400_MS_ENTRY_STATUS_LISTED 2 1300 #define X400_MS_ENTRY_STATUS_FETCHED 3 1307 #define X400_PRIORITY_ANY -1 1310 #define X400_PRIORITY_URGENT 2 1313 #define X400_PRIORITY_NON_URGENT 1 1316 #define X400_PRIORITY_NORMAL 0 1325 #define X400_CRITICAL_NONE 0x0 1326 #define X400_CRITICAL_SUBMISSION 0x01 1327 #define X400_CRITICAL_TRANSFER 0x02 1328 #define X400_CRITICAL_DELIVERY 0x04 1334 #define X400_AUTO_ALERT 1 1337 #define X400_AUTO_FORWARDING 2 1345 #define X400_DL_EXPANSION_HISTORY 1500 1348 #define X400_S_SECURITY_LABEL 1501 1351 #define X400_TRACE_INFO 1502 1354 #define X400_REDIRECTION_HISTORY 1503 1357 #define X400_SUBJECT_TRACE_INFO 1504 1360 #define X400_INTERNAL_TRACE_INFO 1505 1363 #define X400_EXT_ADDRESS_LIST_IND 1506 1366 #define X400_REDIRECTION_HISTORY_ENV 1507 1381 #define X400_S_IOB_OR_ADDRESS X400_S_OR_ADDRESS 1384 #define X400_S_IOB_DN_ADDRESS X400_S_DIRECTORY_NAME 1387 #define X400_S_IOB_FREE_FORM_NAME X400_S_FREE_FORM_NAME 1390 #define X400_S_IOB_TEL X400_S_TELEPHONE_NUMBER 1426 #define X400_B_SEC_GEN_MESSAGE_TOKEN 1700 1429 #define X400_B_SEC_ADD_CERT_PATH 1701 1432 #define X400_B_SEC_CONTENT_INTEGRITY_CHECK 1702 1437 #define X400_N_MSGTOK_STATUS 1710 1440 #define X400_S_MSGTOK_DER 1716 1443 #define X400_N_MSGTOK_SEQ_NUM 1717 1446 #define X400_S_MSGTOK_RECIP 1718 1449 #define X400_S_MSGTOK_SEC_LAB 1719 1452 #define X400_N_MSGTOK_PODR_STATUS 1721 1455 #define X400_N_MSGTOK_SEC_LAB_STATUS 1722 1458 #define X400_N_MSGTOK_RECIP_STATUS 1723 1461 #define X400_N_MSGTOK_CIC_STATUS 1724 1464 #define X400_S_MSGTOK_CIC 1726 1475 #define X400_N_RECIP_CIC_STATUS 1750 1478 #define X400_S_RECIP_CIC 1752 1488 #define X400_TOKEN_ARG_IN_TOK 0x0001 1491 #define X400_TOKEN_ARG_IN_ENV 0x0002 1494 #define X400_TOKEN_TOK_AND_ENV_ARGS_MATCH 0x0004 1502 #define X400_N_CERT_MOAC 1 1507 #define X400_N_CERT_MSGTOK 2 1510 #define X400_N_CERT_RECIP_CIC 3 1513 #define X400_N_CERT_MSGTOK_CIC 4 1523 #define X400_S_CERT_BER 1800 1526 #define X400_S_CERT_SUBJECT_DN 1801 1529 #define X400_S_CERT_ISSUER_DN 1802 1532 #define X400_S_CERT_SERIAL_NUM 1803 1535 #define X400_N_CERT_ORADDRESS_STATUS 1804 1548 #define X400_RR_RECIP_ASSIGNED_ALT_RECIP 1 1551 #define X400_RR_ORIG_REQUESTED_ALT_RECIP 2 1554 #define X400_RR_RECIP_MD_ASSIGNED_ALT_RECIP 3 1557 #define X400_RR_ALIAS 4 1560 #define X400_RR_IC_SYNONYM 5 1563 #define X400_RR_IC_EXTERNAL_SYNONYM 6 1566 #define X400_RR_IC_AMBIGUOUS 7 1579 #define X400_S_MTA_NAME 1 1582 #define X400_S_MTA_SI_TIME 2 1585 #define X400_N_MTA_SI_ROUTING_ACTION 3 1588 #define X400_S_MTA_SI_ATTEMPTED_MTA 4 1591 #define X400_S_MTA_SI_ATTEMPTED_DOMAIN 5 1594 #define X400_S_MTA_SI_DEFERRED_TIME 6 1597 #define X400_S_MTA_SI_CEIT 7 1600 #define X400_N_MTA_SI_OTHER_ACTIONS 8 1603 #define X400_N_MTA_SI_ATTEMPTED_ACTION 9 1606 #define X400_MTA_SI_RA_MTA 1 1609 #define X400_MTA_SI_DOMAIN 2 1612 #define X400_MTA_SI_ROUTING_ACTION_RELAYED 0 1615 #define X400_MTA_SI_ROUTING_ACTION_REROUTED 1 1618 #define X400_MTA_SI_OTHER_ACTION_REDIRECTED 0x00001 1621 #define X400_MTA_SI_OTHER_ACTION_DLOPERATION 0x00002 1632 #define X400_N_ALI_TYPE 1760 1635 #define X400_N_ALI_NOTIFICATION_REQUEST 1761 1638 #define X400_N_ALI_REPLY_REQUEST 1762 1648 #define X400_ACP127_NOTI_TYPE_NEG 0x00001 1651 #define X400_ACP127_NOTI_TYPE_POS 0x00002 1654 #define X400_ACP127_NOTI_TYPE_TRANS 0x00004 1664 #define X400_N_ACP127_NOTI_RESP_TYPE 1 1667 #define X400_S_ACP127_NOTI_RESP_TIME 2 1670 #define X400_S_ACP127_NOTI_RESP_ALI 3 1673 #define X400_S_ACP127_NOTI_RESP_RECIPIENT 4 1676 #define X400_S_ACP127_NOTI_RESP_SUPP_INFO 5 1685 #define X400_N_S4406_SINGLE_WRAP 1