curlmsg_vms.h
Go to the documentation of this file.
00001 #ifndef HEADER_CURLMSG_VMS_H
00002 #define HEADER_CURLMSG_VMS_H
00003 /***************************************************************************
00004  *                                  _   _ ____  _
00005  *  Project                     ___| | | |  _ \| |
00006  *                             / __| | | | |_) | |
00007  *                            | (__| |_| |  _ <| |___
00008  *                             \___|\___/|_| \_\_____|
00009  *
00010  * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
00011  *
00012  * This software is licensed as described in the file COPYING, which
00013  * you should have received as part of this distribution. The terms
00014  * are also available at https://curl.haxx.se/docs/copyright.html.
00015  *
00016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00017  * copies of the Software, and permit persons to whom the Software is
00018  * furnished to do so, under the terms of the COPYING file.
00019  *
00020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00021  * KIND, either express or implied.
00022  *
00023  ***************************************************************************/
00024 
00025 /*                                                                          */
00026 /* CURLMSG_VMS.H                                                            */
00027 /*                                                                          */
00028 /* This defines the necessary bits to change CURLE_* error codes to VMS     */
00029 /* style error codes.  CURLMSG.H is built from CURLMSG.SDL which is built   */
00030 /* from CURLMSG.MSG.  The vms_cond array is used to return VMS errors by    */
00031 /* putting the VMS error codes into the array offset based on CURLE_* code. */
00032 /*                                                                          */
00033 /* If you update CURLMSG.MSG make sure to update this file to match.        */
00034 /*                                                                          */
00035 
00036 #include "curlmsg.h"
00037 
00038 /*
00039 #define   FAC_CURL      0xC01
00040 #define   FAC_SYSTEM    0
00041 #define   MSG_NORMAL    0
00042 */
00043 
00044 /*
00045 #define   SEV_WARNING   0
00046 #define   SEV_SUCCESS   1
00047 #define   SEV_ERROR     2
00048 #define   SEV_INFO      3
00049 #define   SEV_FATAL     4
00050 */
00051 
00052 static const long vms_cond[] =
00053         {
00054         CURL_OK,
00055         CURL_UNSUPPORTED_PROTOCOL,
00056         CURL_FAILED_INIT,
00057         CURL_URL_MALFORMAT,
00058         CURL_OBSOLETE4,
00059         CURL_COULDNT_RESOLVE_PROXY,
00060         CURL_COULDNT_RESOLVE_HOST,
00061         CURL_COULDNT_CONNECT,
00062         CURL_WEIRD_SERVER_REPLY,
00063         CURL_FTP_ACCESS_DENIED,
00064         CURL_OBSOLETE10,
00065         CURL_FTP_WEIRD_PASS_REPLY,
00066         CURL_OBSOLETE12,
00067         CURL_FTP_WEIRD_PASV_REPLY,
00068         CURL_FTP_WEIRD_227_FORMAT,
00069         CURL_FTP_CANT_GET_HOST,
00070         CURL_OBSOLETE16,
00071         CURL_FTP_COULDNT_SET_TYPE,
00072         CURL_PARTIAL_FILE,
00073         CURL_FTP_COULDNT_RETR_FILE,
00074         CURL_OBSOLETE20,
00075         CURL_QUOTE_ERROR,
00076         CURL_HTTP_RETURNED_ERROR,
00077         CURL_WRITE_ERROR,
00078         CURL_OBSOLETE24,
00079         CURL_UPLOAD_FAILED,
00080         CURL_READ_ERROR,
00081         CURL_OUT_OF_MEMORY,
00082         CURL_OPERATION_TIMEOUTED,
00083         CURL_OBSOLETE29,
00084         CURL_FTP_PORT_FAILED,
00085         CURL_FTP_COULDNT_USE_REST,
00086         CURL_OBSOLETE32,
00087         CURL_RANGE_ERROR,
00088         CURL_HTTP_POST_ERROR,
00089         CURL_SSL_CONNECT_ERROR,
00090         CURL_BAD_DOWNLOAD_RESUME,
00091         CURL_FILE_COULDNT_READ_FILE,
00092         CURL_LDAP_CANNOT_BIND,
00093         CURL_LDAP_SEARCH_FAILED,
00094         CURL_OBSOLETE40,
00095         CURL_FUNCTION_NOT_FOUND,
00096         CURL_ABORTED_BY_CALLBACK,
00097         CURL_BAD_FUNCTION_ARGUMENT,
00098         CURL_OBSOLETE44,
00099         CURL_INTERFACE_FAILED,
00100         CURL_OBSOLETE46,
00101         CURL_TOO_MANY_REDIRECTS,
00102         CURL_UNKNOWN_TELNET_OPTION,
00103         CURL_TELNET_OPTION_SYNTAX,
00104         CURL_OBSOLETE50,
00105         CURL_PEER_FAILED_VERIF,
00106         CURL_GOT_NOTHING,
00107         CURL_SSL_ENGINE_NOTFOUND,
00108         CURL_SSL_ENGINE_SETFAILED,
00109         CURL_SEND_ERROR,
00110         CURL_RECV_ERROR,
00111         CURL_OBSOLETE57,
00112         CURL_SSL_CERTPROBLEM,
00113         CURL_SSL_CIPHER,
00114         CURL_SSL_CACERT,
00115         CURL_BAD_CONTENT_ENCODING,
00116         CURL_LDAP_INVALID_URL,
00117         CURL_FILESIZE_EXCEEDED,
00118         CURL_USE_SSL_FAILED,
00119         CURL_SEND_FAIL_REWIND,
00120         CURL_SSL_ENGINE_INITFAILED,
00121         CURL_LOGIN_DENIED,
00122         CURL_TFTP_NOTFOUND,
00123         CURL_TFTP_PERM,
00124         CURL_REMOTE_DISK_FULL,
00125         CURL_TFTP_ILLEGAL,
00126         CURL_TFTP_UNKNOWNID,
00127         CURL_REMOTE_FILE_EXISTS,
00128         CURL_TFTP_NOSUCHUSER,
00129         CURL_CONV_FAILED,
00130         CURL_CONV_REQD,
00131         CURL_SSL_CACERT_BADFILE,
00132         CURL_REMOTE_FILE_NOT_FOUND,
00133         CURL_SSH,
00134         CURL_SSL_SHUTDOWN_FAILED,
00135         CURL_AGAIN,
00136         CURLE_SSL_CRL_BADFILE,
00137         CURLE_SSL_ISSUER_ERROR,
00138         CURL_CURL_LAST
00139         };
00140 
00141 #endif /* HEADER_CURLMSG_VMS_H */


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:02