1 /* $Id: curlmsg_vms.h,v 1.1.1.1 2008-09-23 16:32:05 hoffman Exp $ */
3 /* This defines the necessary bits to change CURLE_* error codes to VMS */
4 /* style error codes. CURLMSG.H is built from CURLMSG.SDL which is built */
5 /* from CURLMSG.MSG. The vms_cond array is used to return VMS errors by */
6 /* putting the VMS error codes into the array offset based on CURLE_* code. */
8 /* If you update CURLMSG.MSG make sure to update this file to match. */
13 #define FAC_CURL 0xC01
17 #define VMS_STS(c,f,e,s) (((c&0xF)<<28)|((f&0xFFF)<<16)|((e&0x1FFF)<3)|(s&7))
18 #define VMSSTS_HIDE VMS_STS(1,0,0,0)
29 CURL_UNSUPPORTED_PROTOCOL
,
33 CURL_COULDNT_RESOLVE_PROXY
,
34 CURL_COULDNT_RESOLVE_HOST
,
36 CURL_FTP_WEIRD_SERVER_REPLY
,
37 CURL_FTP_ACCESS_DENIED
,
39 CURL_FTP_WEIRD_PASS_REPLY
,
41 CURL_FTP_WEIRD_PASV_REPLY
,
42 CURL_FTP_WEIRD_227_FORMAT
,
43 CURL_FTP_CANT_GET_HOST
,
45 CURL_FTP_COULDNT_SET_TYPE
,
47 CURL_FTP_COULDNT_RETR_FILE
,
50 CURL_HTTP_RETURNED_ERROR
,
56 CURL_OPERATION_TIMEOUTED
,
59 CURL_FTP_COULDNT_USE_REST
,
63 CURL_SSL_CONNECT_ERROR
,
64 CURL_BAD_DOWNLOAD_RESUME
,
65 CURL_FILE_COULDNT_READ_FILE
,
66 CURL_LDAP_CANNOT_BIND
,
67 CURL_LDAP_SEARCH_FAILED
,
69 CURL_FUNCTION_NOT_FOUND
,
70 CURL_ABORTED_BY_CALLBACK
,
71 CURL_BAD_FUNCTION_ARGUMENT
,
73 CURL_INTERFACE_FAILED
,
75 CURL_TOO_MANY_REDIRECTS
,
76 CURL_UNKNOWN_TELNET_OPTION
,
77 CURL_TELNET_OPTION_SYNTAX
,
79 CURL_PEER_FAILED_VERIF
,
81 CURL_SSL_ENGINE_NOTFOUND
,
82 CURL_SSL_ENGINE_SETFAILED
,
89 CURL_BAD_CONTENT_ENCODING
,
90 CURL_LDAP_INVALID_URL
,
91 CURL_FILESIZE_EXCEEDED
,
93 CURL_SEND_FAIL_REWIND
,
94 CURL_SSL_ENGINE_INITFAILED
,
98 CURL_REMOTE_DISK_FULL
,
101 CURL_REMOTE_FILE_EXISTS
,
102 CURL_TFTP_NOSUCHUSER
,
105 CURL_SSL_CACERT_BADFILE
,
106 CURL_REMOTE_FILE_NOT_FOUND
,
108 CURL_SSL_SHUTDOWN_FAILED
,