doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
curlmsg_vms.h
Go to the documentation of this file.
1 /* CURLMSG_VMS.H */
2 /* This defines the necessary bits to change CURLE_* error codes to VMS */
3 /* style error codes. CURLMSG.H is built from CURLMSG.SDL which is built */
4 /* from CURLMSG.MSG. The vms_cond array is used to return VMS errors by */
5 /* putting the VMS error codes into the array offset based on CURLE_* code. */
6 /* */
7 #include "curlmsg.h"
8 int vms_show = 0;
9 /*
10 #define FAC_CURL 0xC01
11 #define FAC_SYSTEM 0
12 #define MSG_NORMAL 0
13 */
14 #define VMS_STS(c,f,e,s) (((c&0xF)<<28)|((f&0xFFF)<<16)|((e&0x1FFF)<3)|(s&7))
15 #define VMSSTS_HIDE VMS_STS(1,0,0,0)
16 /*
17 #define SEV_WARNING 0
18 #define SEV_SUCCESS 1
19 #define SEV_ERROR 2
20 #define SEV_INFO 3
21 #define SEV_FATAL 4
22 */
23 long vms_cond[] =
24  {
25  CURL_OK,
26  CURL_UNSUPPORTED_PROTOCOL,
27  CURL_FAILED_INIT,
28  CURL_URL_MALFORMAT,
29  CURL_URL_MALFORMAT_USER,
30  CURL_COULDNT_RESOLVE_PROXY,
31  CURL_COULDNT_RESOLVE_HOST,
32  CURL_COULDNT_CONNECT,
33  CURL_FTP_WEIRD_SERVER_REPLY,
34  CURL_FTP_ACCESS_DENIED,
35  CURL_FTP_USER_PWD_INCORRECT,
36  CURL_FTP_WEIRD_PASS_REPLY,
37  CURL_FTP_WEIRD_USER_REPLY,
38  CURL_FTP_WEIRD_PASV_REPLY,
39  CURL_FTP_WEIRD_227_FORMAT,
40  CURL_FTP_CANT_GET_HOST,
41  CURL_FTP_CANT_RECONNECT,
42  CURL_FTP_COULDNT_SET_BINARY,
43  CURL_PARTIAL_FILE,
44  CURL_FTP_COULDNT_RETR_FILE,
45  CURL_FTP_WRITE_ERROR,
46  CURL_FTP_QUOTE_ERROR,
47  CURL_HTTP_RETURNED_ERROR,
48  CURL_WRITE_ERROR,
49  CURL_MALFORMAT_USER,
50  CURL_FTP_COULDNT_STOR_FILE,
51  CURL_READ_ERROR,
52  CURL_OUT_OF_MEMORY,
53  CURL_OPERATION_TIMEOUTED,
54  CURL_FTP_COULDNT_SET_ASCII,
55  CURL_FTP_PORT_FAILED,
56  CURL_FTP_COULDNT_USE_REST,
57  CURL_FTP_COULDNT_GET_SIZE,
58  CURL_HTTP_RANGE_ERROR,
59  CURL_HTTP_POST_ERROR,
60  CURL_SSL_CONNECT_ERROR,
61  CURL_BAD_DOWNLOAD_RESUME,
62  CURL_FILE_COULDNT_READ_FILE,
63  CURL_LDAP_CANNOT_BIND,
64  CURL_LDAP_SEARCH_FAILED,
65  CURL_LIBRARY_NOT_FOUND,
66  CURL_FUNCTION_NOT_FOUND,
67  CURL_ABORTED_BY_CALLBACK,
68  CURL_BAD_FUNCTION_ARGUMENT,
69  CURL_BAD_CALLING_ORDER,
70  CURL_HTTP_PORT_FAILED,
71  CURL_BAD_PASSWORD_ENTERED,
72  CURL_TOO_MANY_REDIRECTS,
73  CURL_UNKNOWN_TELNET_OPTION,
74  CURL_TELNET_OPTION_SYNTAX,
75  CURL_OBSOLETE,
76  CURL_SSL_PEER_CERTIFICATE,
77  CURL_GOT_NOTHING,
78  CURL_SSL_ENGINE_NOTFOUND,
79  CURL_SSL_ENGINE_SETFAILED,
80  CURL_SEND_ERROR,
81  CURL_RECV_ERROR,
82  CURL_SHARE_IN_USE,
83  CURL_SSL_CERTPROBLEM,
84  CURL_SSL_CIPHER,
85  CURL_SSL_CACERT,
86  CURL_BAD_CONTENT_ENCODING,
87  CURL_LDAP_INVALID_URL,
88  CURL_FILESIZE_EXCEEDED,
89  CURL_CURL_LAST
90  };
long vms_cond[]
Definition: curlmsg_vms.h:23
int vms_show
Definition: curlmsg_vms.h:8