MS X.400 API
Modules | |
Recipient Type Indicators | |
These #defines are used to indicate where a recipient object is to be placed or found. It is possible to combine the envelope item with a recipient type so that only one recipient object is required. | |
Detailed Description
Macro Definition Documentation
◆ X400_E_NOERROR
#define X400_E_NOERROR 0 |
No error
- Examples
- examples/x400_mslist.c, examples/x400_msraa.c, examples/x400_msrcv.c, examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, examples/x400_mssend.c, examples/x400_mssend_rcv_sign.c, examples/x400_mssend_sign.c, and x400_msasync.c.
Definition at line 46 of file x400_att.h.
◆ X400_E_SYSERROR
#define X400_E_SYSERROR 1 |
General system error
Definition at line 49 of file x400_att.h.
◆ X400_E_NOMEMORY
#define X400_E_NOMEMORY 2 |
Insufficient memory
Definition at line 52 of file x400_att.h.
◆ X400_E_BADPARAM
#define X400_E_BADPARAM 3 |
◆ X400_E_INT_ERROR
#define X400_E_INT_ERROR 4 |
◆ X400_E_CONFIG_ERROR
#define X400_E_CONFIG_ERROR 5 |
Internal Config Error
Definition at line 61 of file x400_att.h.
◆ X400_E_NYI
#define X400_E_NYI 6 |
Function not yet implemented
Definition at line 64 of file x400_att.h.
◆ X400_E_NO_CHANNEL
#define X400_E_NO_CHANNEL 7 |
no X400 channel in MTA
Definition at line 67 of file x400_att.h.
◆ X400_E_INV_MSG
#define X400_E_INV_MSG 8 |
Message received from MTA invalid
Definition at line 70 of file x400_att.h.
◆ X400_E_NOCONNECT
#define X400_E_NOCONNECT 10 |
Cannot connect to server
Definition at line 73 of file x400_att.h.
◆ X400_E_BADCREDENTIALS
#define X400_E_BADCREDENTIALS 11 |
Invalid credentials for connection
Definition at line 76 of file x400_att.h.
◆ X400_E_CONNECT_REJ
#define X400_E_CONNECT_REJ 12 |
Connect to server rejected
Definition at line 79 of file x400_att.h.
◆ X400_E_QMGR_CONGESTED
#define X400_E_QMGR_CONGESTED 13 |
Connect to server rejected
Definition at line 82 of file x400_att.h.
◆ X400_E_BAD_QMGR_RESP
#define X400_E_BAD_QMGR_RESP 14 |
Connect to server rejected
Definition at line 85 of file x400_att.h.
◆ X400_E_MISSING_ATTR
#define X400_E_MISSING_ATTR 20 |
Missing attribute in message
Definition at line 88 of file x400_att.h.
◆ X400_E_CONFLICT_ATTR
#define X400_E_CONFLICT_ATTR 21 |
Conflicting attributes in message
Definition at line 91 of file x400_att.h.
◆ X400_E_INVALID_ATTR
#define X400_E_INVALID_ATTR 22 |
Unknown attribute type, or attribute not appropriate for message type
- Examples
- examples/x400_mssend_rcv_sign.c.
Definition at line 94 of file x400_att.h.
◆ X400_E_INVALID_VALUE
#define X400_E_INVALID_VALUE 23 |
Value is invalid for the attribute type
Definition at line 97 of file x400_att.h.
◆ X400_E_NO_VALUE
#define X400_E_NO_VALUE 24 |
Value for parameter is not available
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 100 of file x400_att.h.
◆ X400_E_NO_MESSAGE
#define X400_E_NO_MESSAGE 30 |
No message available
Definition at line 103 of file x400_att.h.
◆ X400_E_TIMED_OUT
#define X400_E_TIMED_OUT 31 |
◆ X400_E_NO_RECIP
#define X400_E_NO_RECIP 32 |
No recipient
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 109 of file x400_att.h.
◆ X400_E_NOSPACE
#define X400_E_NOSPACE 33 |
Insufficient space in output buffer
- Examples
- examples/x400_mslist.c, examples/x400_msrcv.c, and examples/x400_mssend.c.
Definition at line 112 of file x400_att.h.
◆ X400_E_ATTRIBUTE_ALREADY_PRESENT
#define X400_E_ATTRIBUTE_ALREADY_PRESENT 34 |
Attribute already present in object
Definition at line 115 of file x400_att.h.
◆ X400_E_ADDRESS_ERROR
#define X400_E_ADDRESS_ERROR 64 |
Submission error - address failed
Definition at line 118 of file x400_att.h.
◆ X400_E_BUFFER_FILE_ERROR
#define X400_E_BUFFER_FILE_ERROR 65 |
Submission error - buffer file failed
Definition at line 121 of file x400_att.h.
◆ X400_E_BUFFER_FILENAME_ERROR
#define X400_E_BUFFER_FILENAME_ERROR 66 |
Submission error - filename invalid
Definition at line 124 of file x400_att.h.
◆ X400_E_BUFFER_TYPE_ERROR
#define X400_E_BUFFER_TYPE_ERROR 67 |
Submission error - invalid buffer type
Definition at line 127 of file x400_att.h.
◆ X400_E_CONTENT_ERROR
#define X400_E_CONTENT_ERROR 68 |
Submission error - invalid content
Definition at line 130 of file x400_att.h.
◆ X400_E_CONTENT_DATA_ERROR
#define X400_E_CONTENT_DATA_ERROR 69 |
Submission error - failed to initialize content data
Definition at line 133 of file x400_att.h.
◆ X400_E_CONTENT_INIT_ERROR
#define X400_E_CONTENT_INIT_ERROR 70 |
Submission error - failed to initialize content
Definition at line 136 of file x400_att.h.
◆ X400_E_CONTENT_BODY_ERROR
#define X400_E_CONTENT_BODY_ERROR 71 |
Submission error - failed to initialize content body
Definition at line 139 of file x400_att.h.
◆ X400_E_INIT_ERROR
#define X400_E_INIT_ERROR 72 |
Submission error - initialization failed
Definition at line 142 of file x400_att.h.
◆ X400_E_MESSAGE_ERROR
#define X400_E_MESSAGE_ERROR 73 |
Submission error - conclude message failed
Definition at line 145 of file x400_att.h.
◆ X400_E_NO_CONTENT
#define X400_E_NO_CONTENT 74 |
Submission error - null content
Definition at line 148 of file x400_att.h.
◆ X400_E_ORIGINATOR_ERROR
#define X400_E_ORIGINATOR_ERROR 75 |
Submission error - originator's address failed
Definition at line 151 of file x400_att.h.
◆ X400_E_PARMS_ERROR
#define X400_E_PARMS_ERROR 76 |
Submission error - invalid initialization parameter
Definition at line 154 of file x400_att.h.
◆ X400_E_RECIPIENT_ERROR
#define X400_E_RECIPIENT_ERROR 77 |
Submission error - recipient's address failed
- Examples
- examples/x400_mssend.c.
Definition at line 157 of file x400_att.h.
◆ X400_E_TRANSFERABLE_ERROR
#define X400_E_TRANSFERABLE_ERROR 78 |
Submission error - bad transferable
Definition at line 160 of file x400_att.h.
◆ X400_E_REPORT_ERROR
#define X400_E_REPORT_ERROR 79 |
Submission error - failed transferring report
Definition at line 163 of file x400_att.h.
◆ X400_E_COMPLEX_BODY
#define X400_E_COMPLEX_BODY 80 |
Body part needs Bodypart object
Definition at line 166 of file x400_att.h.
◆ X400_E_MESSAGE_BODY
#define X400_E_MESSAGE_BODY 81 |
Body part needs Message object
Definition at line 169 of file x400_att.h.
◆ X400_E_UNSUPPORTED_BODY
#define X400_E_UNSUPPORTED_BODY 82 |
Body part is not supported by this API
Definition at line 172 of file x400_att.h.
◆ X400_E_X509_ENV
#define X400_E_X509_ENV 83 |
Invalid Security environment
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 175 of file x400_att.h.
◆ X400_E_X509_INTERNAL_ERROR
#define X400_E_X509_INTERNAL_ERROR 84 |
Internal error in security sub system
Definition at line 178 of file x400_att.h.
◆ X400_E_X509_INIT
#define X400_E_X509_INIT 85 |
Cannot initialise the security env
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 181 of file x400_att.h.
◆ X400_E_X509_VERIFY_FAIL_NO_CERT
#define X400_E_X509_VERIFY_FAIL_NO_CERT 87 |
Cannot verify sig - no originator certificate
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 184 of file x400_att.h.
◆ X400_E_X509_VERIFY_FAIL_NO_PUBKEY
#define X400_E_X509_VERIFY_FAIL_NO_PUBKEY 88 |
Cannot verify sig - no public key in originator certificate
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 187 of file x400_att.h.
◆ X400_E_X509_VERIFY_FAIL_INCOMPAT_ALG
#define X400_E_X509_VERIFY_FAIL_INCOMPAT_ALG 89 |
Cannot verify sig - algorithm in cert is incompatible
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 190 of file x400_att.h.
◆ X400_E_X509_VERIFY_FAIL_UNSUPPORTED_ALG
#define X400_E_X509_VERIFY_FAIL_UNSUPPORTED_ALG 90 |
Cannot verify sig - algorithm in cert is incompatible
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 193 of file x400_att.h.
◆ X400_E_X509_VERIFY_FAIL
#define X400_E_X509_VERIFY_FAIL 91 |
Signature Verification failed
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 196 of file x400_att.h.
◆ X400_E_X509_CERT_INVALID
#define X400_E_X509_CERT_INVALID 92 |
Verification failed - but message has been returned
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 199 of file x400_att.h.
◆ X400_E_X509_ITEM_INVALID
#define X400_E_X509_ITEM_INVALID 93 |
Invalid security-related extension value
- Examples
- examples/x400_msrcv_msg_tok_sign.c, examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 202 of file x400_att.h.
◆ X400_E_SIGN_NO_IDENTITY
#define X400_E_SIGN_NO_IDENTITY 94 |
Cannot find the Identity to sign the message
- Examples
- examples/x400_msrcv_sign.c, and examples/x400_mssend_rcv_sign.c.
Definition at line 205 of file x400_att.h.
◆ X400_E_SIGN
#define X400_E_SIGN 95 |
Cannot sign the message
Definition at line 208 of file x400_att.h.
◆ X400_E_NONDELIVERED
#define X400_E_NONDELIVERED 96 |
Message non-delivered due to unhandled critical extensions
Definition at line 211 of file x400_att.h.
◆ X400_E_NO_MORE_RESULTS
#define X400_E_NO_MORE_RESULTS 99 |
No more results available
- Examples
- examples/x400_mslist.c, and x400_msasync.c.
Definition at line 214 of file x400_att.h.
◆ X400_E_WAIT_WRITE
#define X400_E_WAIT_WRITE 100 |
Application should wait for association to become writeable
- Examples
- x400_msasync.c.
Definition at line 217 of file x400_att.h.
◆ X400_E_WAIT_READ
#define X400_E_WAIT_READ 101 |
Application should wait for association to become readable
- Examples
- x400_msasync.c.
Definition at line 220 of file x400_att.h.
◆ X400_E_WAIT_READ_WRITE
#define X400_E_WAIT_READ_WRITE 102 |
Application should wait for association to become readable and writeable
- Examples
- x400_msasync.c.
Definition at line 223 of file x400_att.h.
◆ X400_E_CONNECTION_LOST
#define X400_E_CONNECTION_LOST 110 |
Connection lost to Queue Manager
Definition at line 226 of file x400_att.h.
◆ X400_E_SHUTDOWN
#define X400_E_SHUTDOWN 111 |
Queue Manager shutting down
Definition at line 229 of file x400_att.h.
◆ X400_E_NO_MATCH
#define X400_E_NO_MATCH 112 |
No match between elements
Definition at line 232 of file x400_att.h.
◆ X400_E_S4406_TRIPLE_WRAPPED
#define X400_E_S4406_TRIPLE_WRAPPED 113 |
Content is STANAG 4406 Triple Wrapped content which cannot be decrypted
- Examples
- examples/x400_msrcv_sign.c.
Definition at line 235 of file x400_att.h.
◆ X400_E_P7_ATTRIBUTE_ERROR
#define X400_E_P7_ATTRIBUTE_ERROR 114 |
P7 Attribute error returned by Message Store
Definition at line 238 of file x400_att.h.
◆ X400_E_P7_AUTOACTION_REQUEST_ERROR
#define X400_E_P7_AUTOACTION_REQUEST_ERROR 115 |
P7 Autoaction Request error returned by Message Store
Definition at line 241 of file x400_att.h.
◆ X400_E_P7_DELETE_ERROR
#define X400_E_P7_DELETE_ERROR 116 |
P7 Delete error returned by Message Store
Definition at line 244 of file x400_att.h.
◆ X400_E_P7_INVALID_PARAMETERS_ERROR
#define X400_E_P7_INVALID_PARAMETERS_ERROR 117 |
P7 Invalid Parameters error returned by Message Store
Definition at line 247 of file x400_att.h.
◆ X400_E_P7_RANGE_ERROR
#define X400_E_P7_RANGE_ERROR 118 |
P7 Range error returned by Message Store
Definition at line 250 of file x400_att.h.
◆ X400_E_P7_SERVICE_ERROR
#define X400_E_P7_SERVICE_ERROR 119 |
P7 Service error returned by Message Store
Definition at line 253 of file x400_att.h.
◆ X400_E_P7_SUBMISSION_CONTROL_VIOLATED
#define X400_E_P7_SUBMISSION_CONTROL_VIOLATED 120 |
P7 submission control violated error returned by Message Store
Definition at line 256 of file x400_att.h.
◆ X400_E_P7_ELEMENT_OF_SERVICE_NOT_SUBSCRIBED
#define X400_E_P7_ELEMENT_OF_SERVICE_NOT_SUBSCRIBED 121 |
P7 element-of-service-not-subscribed error returned by Message Store
Definition at line 259 of file x400_att.h.
◆ X400_E_P7_MESSAGE_SUBMISSION_IDENTIFIER_INVALID
#define X400_E_P7_MESSAGE_SUBMISSION_IDENTIFIER_INVALID 122 |
P7 message submission identfier invalid error returned by Message Store
Definition at line 262 of file x400_att.h.
◆ X400_E_P7_INCONSISTENT_REQUEST_ERROR
#define X400_E_P7_INCONSISTENT_REQUEST_ERROR 123 |
P7 inconsistent request error returned by Message Store
Definition at line 265 of file x400_att.h.
◆ X400_E_P7_UNSUPPORTED_CRITICAL_FUNCTION
#define X400_E_P7_UNSUPPORTED_CRITICAL_FUNCTION 124 |
P7 unsupported critical function error returned by Message Store
Definition at line 268 of file x400_att.h.
◆ X400_E_P7_REMOTE_BIND_ERROR
#define X400_E_P7_REMOTE_BIND_ERROR 125 |
P7 remote bind error returned by Message Store
Definition at line 271 of file x400_att.h.
◆ X400_E_P7_FETCH_RESTRICTION_ERROR
#define X400_E_P7_FETCH_RESTRICTION_ERROR 126 |
P7 fetch restriction error returned by Message Store
Definition at line 274 of file x400_att.h.
◆ X400_E_P7_SECURITY_ERROR
#define X400_E_P7_SECURITY_ERROR 127 |
P7 Security error returned by Message Store
Definition at line 277 of file x400_att.h.
◆ X400_E_TEMPORARY_ERROR
#define X400_E_TEMPORARY_ERROR 128 |
Temporary error returned while transferring message out to MTA, caused by DNS or DSA lookup timeout. The call to X400mtMsgSend() can be retried.
Definition at line 280 of file x400_att.h.