1 #ifndef HEADER_CURLMSG_VMS_H
2 #define HEADER_CURLMSG_VMS_H
3 /***************************************************************************
5 * Project ___| | | | _ \| |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
10 * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
12 * This software is licensed as described in the file COPYING, which
13 * you should have received as part of this distribution. The terms
14 * are also available at https://curl.haxx.se/docs/copyright.html.
16 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17 * copies of the Software, and permit persons to whom the Software is
18 * furnished to do so, under the terms of the COPYING file.
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
23 ***************************************************************************/
28 /* This defines the necessary bits to change CURLE_* error codes to VMS */
29 /* style error codes. CURLMSG.H is built from CURLMSG.SDL which is built */
30 /* from CURLMSG.MSG. The vms_cond array is used to return VMS errors by */
31 /* putting the VMS error codes into the array offset based on CURLE_* code. */
33 /* If you update CURLMSG.MSG make sure to update this file to match. */
39 #define FAC_CURL 0xC01
52 static const long vms_cond[] =
55 CURL_UNSUPPORTED_PROTOCOL,
59 CURL_COULDNT_RESOLVE_PROXY,
60 CURL_COULDNT_RESOLVE_HOST,
62 CURL_FTP_WEIRD_SERVER_REPLY,
63 CURL_FTP_ACCESS_DENIED,
65 CURL_FTP_WEIRD_PASS_REPLY,
67 CURL_FTP_WEIRD_PASV_REPLY,
68 CURL_FTP_WEIRD_227_FORMAT,
69 CURL_FTP_CANT_GET_HOST,
71 CURL_FTP_COULDNT_SET_TYPE,
73 CURL_FTP_COULDNT_RETR_FILE,
76 CURL_HTTP_RETURNED_ERROR,
82 CURL_OPERATION_TIMEOUTED,
85 CURL_FTP_COULDNT_USE_REST,
89 CURL_SSL_CONNECT_ERROR,
90 CURL_BAD_DOWNLOAD_RESUME,
91 CURL_FILE_COULDNT_READ_FILE,
92 CURL_LDAP_CANNOT_BIND,
93 CURL_LDAP_SEARCH_FAILED,
95 CURL_FUNCTION_NOT_FOUND,
96 CURL_ABORTED_BY_CALLBACK,
97 CURL_BAD_FUNCTION_ARGUMENT,
99 CURL_INTERFACE_FAILED,
101 CURL_TOO_MANY_REDIRECTS,
102 CURL_UNKNOWN_TELNET_OPTION,
103 CURL_TELNET_OPTION_SYNTAX,
105 CURL_PEER_FAILED_VERIF,
107 CURL_SSL_ENGINE_NOTFOUND,
108 CURL_SSL_ENGINE_SETFAILED,
112 CURL_SSL_CERTPROBLEM,
115 CURL_BAD_CONTENT_ENCODING,
116 CURL_LDAP_INVALID_URL,
117 CURL_FILESIZE_EXCEEDED,
119 CURL_SEND_FAIL_REWIND,
120 CURL_SSL_ENGINE_INITFAILED,
124 CURL_REMOTE_DISK_FULL,
127 CURL_REMOTE_FILE_EXISTS,
128 CURL_TFTP_NOSUCHUSER,
131 CURL_SSL_CACERT_BADFILE,
132 CURL_REMOTE_FILE_NOT_FOUND,
134 CURL_SSL_SHUTDOWN_FAILED,
136 CURLE_SSL_CRL_BADFILE,
137 CURLE_SSL_ISSUER_ERROR,
141 #endif /* HEADER_CURLMSG_VMS_H */