• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1      **************************************************************************
2      *                                  _   _ ____  _
3      *  Project                     ___| | | |  _ \| |
4      *                             / __| | | | |_) | |
5      *                            | (__| |_| |  _ <| |___
6      *                             \___|\___/|_| \_\_____|
7      *
8      * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
9      *
10      * This software is licensed as described in the file COPYING, which
11      * you should have received as part of this distribution. The terms
12      * are also available at https://curl.haxx.se/docs/copyright.html.
13      *
14      * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15      * copies of the Software, and permit persons to whom the Software is
16      * furnished to do so, under the terms of the COPYING file.
17      *
18      * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
19      * ANY KIND, either express or implied.
20      *
21      *
22      **************************************************************************
23      *
24      /if not defined(CURL_CURL_INC_)
25      /define CURL_CURL_INC_
26      *
27      *     WARNING: this file should be kept in sync with C include files.
28      *
29      **************************************************************************
30      *                               Constants
31      **************************************************************************
32      *
33     d LIBCURL_VERSION...
34     d                 c                   '@LIBCURL_VERSION@'
35     d LIBCURL_VERSION_MAJOR...
36     d                 c                   @LIBCURL_VERSION_MAJOR@
37     d LIBCURL_VERSION_MINOR...
38     d                 c                   @LIBCURL_VERSION_MINOR@
39     d LIBCURL_VERSION_PATCH...
40     d                 c                   @LIBCURL_VERSION_PATCH@
41     d LIBCURL_VERSION_NUM...
42     d                 c                   X'00@LIBCURL_VERSION_NUM@'
43     d LIBCURL_TIMESTAMP...
44     d                 c                   '@LIBCURL_TIMESTAMP@'
45      *
46     d CURL_SOCKET_BAD...
47     d                 c                   -1
48     d CURL_SOCKET_TIMEOUT...
49     d                 c                   -1
50      *
51      /if not defined(CURL_MAX_WRITE_SIZE)
52      /define CURL_MAX_WRITE_SIZE
53     d CURL_MAX_WRITE_SIZE...
54     d                 c                   16384
55      /endif
56      *
57      /if not defined(CURL_MAX_HTTP_HEADER)
58      /define CURL_MAX_HTTP_HEADER
59     d CURL_MAX_HTTP_HEADER...
60     d                 c                   102400
61      /endif
62      *
63     d CURLINFO_STRING...
64     d                 c                   X'00100000'
65     d CURLINFO_LONG   c                   X'00200000'
66     d CURLINFO_DOUBLE...
67     d                 c                   X'00300000'
68     d CURLINFO_SLIST  c                   X'00400000'
69     d CURLINFO_PTR    c                   X'00400000'
70     d CURLINFO_SOCKET...
71     d                 c                   X'00500000'
72     d CURLINFO_OFF_T...
73     d                 c                   X'00600000'
74     d CURLINFO_MASK   c                   X'000FFFFF'
75     d CURLINFO_TYPEMASK...
76     d                 c                   X'00F00000'
77      *
78     d CURL_GLOBAL_SSL...
79     d                 c                   X'00000001'
80     d CURL_GLOBAL_WIN32...
81     d                 c                   X'00000002'
82     d CURL_GLOBAL_ALL...
83     d                 c                   X'00000003'
84     d CURL_GLOBAL_NOTHING...
85     d                 c                   X'00000000'
86     d CURL_GLOBAL_DEFAULT...
87     d                 c                   X'00000003'
88     d CURL_GLOBAL_ACK_EINTR...
89     d                 c                   X'00000004'
90      *
91     d CURL_VERSION_IPV6...
92     d                 c                   X'00000001'
93     d CURL_VERSION_KERBEROS4...
94     d                 c                   X'00000002'
95     d CURL_VERSION_SSL...
96     d                 c                   X'00000004'
97     d CURL_VERSION_LIBZ...
98     d                 c                   X'00000008'
99     d CURL_VERSION_NTLM...
100     d                 c                   X'00000010'
101     d CURL_VERSION_GSSNEGOTIATE...
102     d                 c                   X'00000020'                          Deprecated
103     d CURL_VERSION_DEBUG...
104     d                 c                   X'00000040'
105     d CURL_VERSION_ASYNCHDNS...
106     d                 c                   X'00000080'
107     d CURL_VERSION_SPNEGO...
108     d                 c                   X'00000100'
109     d CURL_VERSION_LARGEFILE...
110     d                 c                   X'00000200'
111     d CURL_VERSION_IDN...
112     d                 c                   X'00000400'
113     d CURL_VERSION_SSPI...
114     d                 c                   X'00000800'
115     d CURL_VERSION_CONV...
116     d                 c                   X'00001000'
117     d CURL_VERSION_CURLDEBUG...
118     d                 c                   X'00002000'
119     d CURL_VERSION_TLSAUTH_SRP...
120     d                 c                   X'00004000'
121     d CURL_VERSION_NTLM_WB...
122     d                 c                   X'00008000'
123     d CURL_VERSION_HTTP2...
124     d                 c                   X'00010000'
125     d CURL_VERSION_GSSAPI...
126     d                 c                   X'00020000'
127     d CURL_VERSION_KERBEROS5...
128     d                 c                   X'00040000'
129     d CURL_VERSION_UNIX_SOCKETS...
130     d                 c                   X'00080000'
131     d CURL_VERSION_PSL...
132     d                 c                   X'00100000'
133     d CURL_VERSION_HTTPS_PROXY...
134     d                 c                   X'00200000'
135     d CURL_VERSION_MULTI_SSL...
136     d                 c                   X'00400000'
137     d CURL_VERSION_BROTLI...
138     d                 c                   X'00800000'
139     d CURL_VERSION_ALTSVC...
140     d                 c                   X'01000000'
141      *
142     d CURL_HTTPPOST_FILENAME...
143     d                 c                   X'00000001'
144     d CURL_HTTPPOST_READFILE...
145     d                 c                   X'00000002'
146     d CURL_HTTPPOST_PTRNAME...
147     d                 c                   X'00000004'
148     d CURL_HTTPPOST_PTRCONTENTS...
149     d                 c                   X'00000008'
150     d CURL_HTTPPOST_BUFFER...
151     d                 c                   X'00000010'
152     d CURL_HTTPPOST_PTRBUFFER...
153     d                 c                   X'00000020'
154     d CURL_HTTPPOST_CALLBACK...
155     d                 c                   X'00000040'
156     d CURL_HTTPPOST_LARGE...
157     d                 c                   X'00000080'
158      *
159     d CURL_SEEKFUNC_OK...
160     d                 c                   0
161     d CURL_SEEKFUNC_FAIL...
162     d                 c                   1
163     d CURL_SEEKFUNC_CANTSEEK...
164     d                 c                   2
165      *
166     d CURL_READFUNC_ABORT...
167     d                 c                   X'10000000'
168     d CURL_READFUNC_PAUSE...
169     d                 c                   X'10000001'
170      *
171     d CURL_WRITEFUNC_PAUSE...
172     d                 c                   X'10000001'
173      *
174     d CURL_TRAILERFUNC_OK...
175     d                 c                   0
176     d CURL_TRAILERFUNC_ABORT...
177     d                 c                   1
178      *
179     d CURLAUTH_NONE   c                   X'00000000'
180     d CURLAUTH_BASIC  c                   X'00000001'
181     d CURLAUTH_DIGEST...
182     d                 c                   X'00000002'
183     d CURLAUTH_NEGOTIATE...
184     d                 c                   X'00000004'
185     d CURLAUTH_NTLM   c                   X'00000008'
186     d CURLAUTH_DIGEST_IE...
187     d                 c                   X'00000010'
188     d CURLAUTH_NTLM_WB...
189     d                 c                   X'00000020'
190     d CURLAUTH_BEARER...
191     d                 c                   X'00000040'
192     d CURLAUTH_ONLY...
193     d                 c                   X'80000000'
194     d CURLAUTH_ANY    c                   X'7FFFFFEF'
195     d CURLAUTH_ANYSAFE...
196     d                 c                   X'7FFFFFEE'
197      *
198     d CURLSSH_AUTH_ANY...
199     d                 c                   X'7FFFFFFF'
200     d CURLSSH_AUTH_NONE...
201     d                 c                   X'00000000'
202     d CURLSSH_AUTH_PUBLICKEY...
203     d                 c                   X'00000001'
204     d CURLSSH_AUTH_PASSWORD...
205     d                 c                   X'00000002'
206     d CURLSSH_AUTH_HOST...
207     d                 c                   X'00000004'
208     d CURLSSH_AUTH_KEYBOARD...
209     d                 c                   X'00000008'
210     d CURLSSH_AUTH_AGENT...
211     d                 c                   X'00000010'
212     d CURLSSH_AUTH_DEFAULT...
213     d                 c                   X'7FFFFFFF'                          CURLSSH_AUTH_ANY
214      *
215     d CURLGSSAPI_DELEGATION_NONE...
216     d                 c                   0
217     d CURLGSSAPI_DELEGATION_POLICY_FLAG...
218     d                 c                   X'00000001'
219     d CURLGSSAPI_DELEGATION_FLAG...
220     d                 c                   X'00000002'
221      *
222     d CURL_ERROR_SIZE...
223     d                 c                   256
224      *
225     d CURLOPTTYPE_LONG...
226     d                 c                   0
227     d CURLOPTTYPE_OBJECTPOINT...
228     d                 c                   10000
229     d CURLOPTTYPE_STRINGPOINT...
230     d                 c                   10000
231     d CURLOPTTYPE_FUNCTIONPOINT...
232     d                 c                   20000
233     d CURLOPTTYPE_OFF_T...
234     d                 c                   30000
235      *
236     d CURL_IPRESOLVE_WHATEVER...
237     d                 c                   0
238     d CURL_IPRESOLVE_V4...
239     d                 c                   1
240     d CURL_IPRESOLVE_V6...
241     d                 c                   2
242      *
243     d CURL_HTTP_VERSION_NONE...
244     d                 c                   0
245     d CURL_HTTP_VERSION_1_0...
246     d                 c                   1
247     d CURL_HTTP_VERSION_1_1...
248     d                 c                   2
249     d CURL_HTTP_VERSION_2_0...
250     d                 c                   3
251     d CURL_HTTP_VERSION_2...
252     d                 c                   3
253     d CURL_HTTP_VERSION_2TLS...
254     d                 c                   4
255     d CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE...
256     d                 c                   5
257      *
258     d CURL_NETRC_IGNORED...
259     d                 c                   0
260     d CURL_NETRC_OPTIONAL...
261     d                 c                   1
262     d CURL_NETRC_REQUIRED...
263     d                 c                   2
264      *
265     d CURL_SSLVERSION_DEFAULT...
266     d                 c                   0
267     d CURL_SSLVERSION_TLSv1...
268     d                 c                   1
269     d CURL_SSLVERSION_SSLv2...
270     d                 c                   2
271     d CURL_SSLVERSION_SSLv3...
272     d                 c                   3
273     d CURL_SSLVERSION_TLSv1_0...
274     d                 c                   4
275     d CURL_SSLVERSION_TLSv1_1...
276     d                 c                   5
277     d CURL_SSLVERSION_TLSv1_2...
278     d                 c                   6
279     d CURL_SSLVERSION_TLSv1_3...
280     d                 c                   7
281     d CURL_SSLVERSION_MAX_DEFAULT...
282     d                 c                   X'00010000'
283     d CURL_SSLVERSION_MAX_TLSv1_0...
284     d                 c                   X'00040000'
285     d CURL_SSLVERSION_MAX_TLSv1_1...
286     d                 c                   X'00050000'
287     d CURL_SSLVERSION_MAX_TLSv1_2...
288     d                 c                   X'00060000'
289     d CURL_SSLVERSION_MAX_TLSv1_3...
290     d                 c                   X'00070000'
291      *
292     d CURL_TLSAUTH_NONE...
293     d                 c                   0
294     d CURL_TLSAUTH_SRP...
295     d                 c                   1
296      *
297     d CURL_REDIR_GET_ALL...
298     d                 c                   0
299     d CURL_REDIR_POST_301...
300     d                 c                   1
301     d CURL_REDIR_POST_302...
302     d                 c                   2
303     d CURL_REDIR_POST_303...
304     d                 c                   4
305     d CURL_REDIR_POST_ALL...
306     d                 c                   7
307      *
308     d CURL_ZERO_TERMINATED...
309     d                 c                   -1
310      *
311     d CURL_POLL_NONE  c                   0
312     d CURL_POLL_IN    c                   1
313     d CURL_POLL_OUT   c                   2
314     d CURL_POLL_INOUT...
315     d                 c                   3
316     d CURL_POLL_REMOVE...
317     d                 c                   4
318      *
319     d CURL_CSELECT_IN...
320     d                 c                   X'00000001'
321     d CURL_CSELECT_OUT...
322     d                 c                   X'00000002'
323     d CURL_CSELECT_ERR...
324     d                 c                   X'00000004'
325      *
326     d CURL_PUSH_OK    c                   0
327     d CURL_PUSH_DENY  c                   1
328      *
329     d CURLPAUSE_RECV  c                   X'00000001'
330     d CURLPAUSE_RECV_CONT...
331     d                 c                   X'00000000'
332     d CURLPAUSE_SEND  c                   X'00000004'
333     d CURLPAUSE_SEND_CONT...
334     d                 c                   X'00000000'
335     d CURLPAUSE_ALL   c                   X'00000005'
336     d CURLPAUSE_CONT  c                   X'00000000'
337      *
338     d CURLINFOFLAG_KNOWN_FILENAME...
339     d                 c                   X'00000001'
340     d CURLINFOFLAG_KNOWN_FILETYPE...
341     d                 c                   X'00000002'
342     d CURLINFOFLAG_KNOWN_TIME...
343     d                 c                   X'00000004'
344     d CURLINFOFLAG_KNOWN_PERM...
345     d                 c                   X'00000008'
346     d CURLINFOFLAG_KNOWN_UID...
347     d                 c                   X'00000010'
348     d CURLINFOFLAG_KNOWN_GID...
349     d                 c                   X'00000020'
350     d CURLINFOFLAG_KNOWN_SIZE...
351     d                 c                   X'00000040'
352     d CURLINFOFLAG_KNOWN_HLINKCOUNT...
353     d                 c                   X'00000080'
354      *
355     d CURL_CHUNK_BGN_FUNC_OK...
356     d                 c                   0
357     d CURL_CHUNK_BGN_FUNC_FAIL...
358     d                 c                   1
359     d CURL_CHUNK_BGN_FUNC_SKIP...
360     d                 c                   2
361      *
362     d CURL_CHUNK_END_FUNC_OK...
363     d                 c                   0
364     d CURL_CHUNK_END_FUNC_FAIL...
365     d                 c                   1
366      *
367     d CURL_FNMATCHFUNC_MATCH...
368     d                 c                   0
369     d CURL_FNMATCHFUNC_NOMATCH...
370     d                 c                   1
371     d CURL_FNMATCHFUNC_FAIL...
372     d                 c                   2
373      *
374     d CURL_WAIT_POLLIN...
375     d                 c                   X'0001'
376     d CURL_WAIT_POLLPRI...
377     d                 c                   X'0002'
378     d CURL_WAIT_POLLOUT...
379     d                 c                   X'0004'
380      *
381     d CURLU_DEFAULT_PORT...
382     d                 c                   X'00000001'
383     d CURLU_NO_DEFAULT_PORT...
384     d                 c                   X'00000002'
385     d CURLU_DEFAULT_SCHEME...
386     d                 c                   X'00000004'
387     d CURLU_NON_SUPPORT_SCHEME...
388     d                 c                   X'00000008'
389     d CURLU_PATH_AS_IS...
390     d                 c                   X'00000010'
391     d CURLU_DISALLOW_USER...
392     d                 c                   X'00000020'
393     d CURLU_URLDECODE...
394     d                 c                   X'00000040'
395     d CURLU_URLENCODE...
396     d                 c                   X'00000080'
397     d CURLU_APPENDQUERY...
398     d                 c                   X'00000100'
399     d CURLU_GUESS_SCHEME...
400     d                 c                   X'00000200'
401      *
402      **************************************************************************
403      *                                Types
404      **************************************************************************
405      *
406     d curl_socket_t   s             10i 0 based(######ptr######)
407      *
408     d curl_off_t      s             20i 0 based(######ptr######)
409      *
410     d CURLcode        s             10i 0 based(######ptr######)               Enum
411     d  CURLE_OK       c                   0
412     d  CURLE_UNSUPPORTED_PROTOCOL...
413     d                 c                   1
414     d  CURLE_FAILED_INIT...
415     d                 c                   2
416     d  CURLE_URL_MALFORMAT...
417     d                 c                   3
418     d  CURLE_NOT_BUILT_IN...
419     d                 c                   4
420     d  CURLE_COULDNT_RESOLVE_PROXY...
421     d                 c                   5
422     d  CURLE_COULDNT_RESOLVE_HOST...
423     d                 c                   6
424     d  CURLE_COULDNT_CONNECT...
425     d                 c                   7
426     d  CURLE_WEIRD_SERVER_REPLY...
427     d                 c                   8
428     d  CURLE_FTP_WEIRD_SERVER_REPLY...
429     d                 c                   8
430     d  CURLE_REMOTE_ACCESS_DENIED...
431     d                 c                   9
432     d  CURLE_FTP_ACCEPT_FAILED...
433     d                 c                   10
434     d  CURLE_FTP_WEIRD_PASS_REPLY...
435     d                 c                   11
436     d  CURLE_FTP_ACCEPT_TIMEOUT...
437     d                 c                   12
438     d  CURLE_FTP_WEIRD_PASV_REPLY...
439     d                 c                   13
440     d  CURLE_FTP_WEIRD_227_FORMAT...
441     d                 c                   14
442     d  CURLE_FTP_CANT_GET_HOST...
443     d                 c                   15
444     d  CURLE_HTTP2    c                   16
445     d  CURLE_FTP_COULDNT_SET_TYPE...
446     d                 c                   17
447     d  CURLE_PARTIAL_FILE...
448     d                 c                   18
449     d  CURLE_FTP_COULDNT_RETR_FILE...
450     d                 c                   19
451     d  CURLE_OBSOLETE20...
452     d                 c                   20
453     d  CURLE_QUOTE_ERROR...
454     d                 c                   21
455     d  CURLE_HTTP_RETURNED_ERROR...
456     d                 c                   22
457     d  CURLE_WRITE_ERROR...
458     d                 c                   23
459     d  CURLE_OBSOLETE24...
460     d                 c                   24
461     d  CURLE_UPLOAD_FAILED...
462     d                 c                   25
463     d  CURLE_READ_ERROR...
464     d                 c                   26
465     d  CURLE_OUT_OF_MEMORY...
466     d                 c                   27
467     d  CURLE_OPERATION_TIMEDOUT...
468     d                 c                   28
469     d  CURLE_OBSOLETE29...
470     d                 c                   29
471     d  CURLE_FTP_PORT_FAILED...
472     d                 c                   30
473     d  CURLE_FTP_COULDNT_USE_REST...
474     d                 c                   31
475     d  CURLE_OBSOLETE32...
476     d                 c                   32
477     d  CURLE_RANGE_ERROR...
478     d                 c                   33
479     d  CURLE_HTTP_POST_ERROR...
480     d                 c                   34
481     d  CURLE_SSL_CONNECT_ERROR...
482     d                 c                   35
483     d  CURLE_BAD_DOWNLOAD_RESUME...
484     d                 c                   36
485     d  CURLE_FILE_COULDNT_READ_FILE...
486     d                 c                   37
487     d  CURLE_LDAP_CANNOT_BIND...
488     d                 c                   38
489     d  CURLE_LDAP_SEARCH_FAILED...
490     d                 c                   39
491     d  CURLE_OBSOLETE40...
492     d                 c                   40
493     d  CURLE_FUNCTION_NOT_FOUND...
494     d                 c                   41
495     d  CURLE_ABORTED_BY_CALLBACK...
496     d                 c                   42
497     d  CURLE_BAD_FUNCTION_ARGUMENT...
498     d                 c                   43
499     d  CURLE_OBSOLETE44...
500     d                 c                   44
501     d  CURLE_INTERFACE_FAILED...
502     d                 c                   45
503     d  CURLE_OBSOLETE46...
504     d                 c                   46
505     d  CURLE_TOO_MANY_REDIRECTS...
506     d                 c                   47
507     d  CURLE_UNKNOWN_OPTION...
508     d                 c                   48
509     d  CURLE_TELNET_OPTION_SYNTAX...
510     d                 c                   49
511     d  CURLE_OBSOLETE50...
512     d                 c                   50
513     d  CURLE_OBSOLETE51...
514     d                 c                   51
515     d  CURLE_GOT_NOTHING...
516     d                 c                   52
517     d  CURLE_SSL_ENGINE_NOTFOUND...
518     d                 c                   53
519     d  CURLE_SSL_ENGINE_SETFAILED...
520     d                 c                   54
521     d  CURLE_SEND_ERROR...
522     d                 c                   55
523     d  CURLE_RECV_ERROR...
524     d                 c                   56
525     d  CURLE_OBSOLETE57...
526     d                 c                   57
527     d  CURLE_SSL_CERTPROBLEM...
528     d                 c                   58
529     d  CURLE_SSL_CIPHER...
530     d                 c                   59
531     d  CURLE_PEER_FAILED_VERIFICATION...
532     d                 c                   60
533     d  CURLE_BAD_CONTENT_ENCODING...
534     d                 c                   61
535     d  CURLE_LDAP_INVALID_URL...
536     d                 c                   62
537     d  CURLE_FILESIZE_EXCEEDED...
538     d                 c                   63
539     d  CURLE_USE_SSL_FAILED...
540     d                 c                   64
541     d  CURLE_SEND_FAIL_REWIND...
542     d                 c                   65
543     d  CURLE_SSL_ENGINE_INITFAILED...
544     d                 c                   66
545     d  CURLE_LOGIN_DENIED...
546     d                 c                   67
547     d  CURLE_TFTP_NOTFOUND...
548     d                 c                   68
549     d  CURLE_TFTP_PERM...
550     d                 c                   69
551     d  CURLE_REMOTE_DISK_FULL...
552     d                 c                   70
553     d  CURLE_TFTP_ILLEGAL...
554     d                 c                   71
555     d  CURLE_TFTP_UNKNOWNID...
556     d                 c                   72
557     d  CURLE_REMOTE_FILE_EXISTS...
558     d                 c                   73
559     d  CURLE_TFTP_NOSUCHUSER...
560     d                 c                   74
561     d  CURLE_CONV_FAILED...
562     d                 c                   75
563     d  CURLE_CONV_REQD...
564     d                 c                   76
565     d  CURLE_SSL_CACERT_BADFILE...
566     d                 c                   77
567     d  CURLE_REMOTE_FILE_NOT_FOUND...
568     d                 c                   78
569     d  CURLE_SSH...
570     d                 c                   79
571     d  CURLE_SSL_SHUTDOWN_FAILED...
572     d                 c                   80
573     d  CURLE_AGAIN...
574     d                 c                   81
575     d  CURLE_SSL_CRL_BADFILE...
576     d                 c                   82
577     d  CURLE_SSL_ISSUER_ERROR...
578     d                 c                   83
579     d  CURLE_FTP_PRET_FAILED...
580     d                 c                   84
581     d  CURLE_RTSP_CSEQ_ERROR...
582     d                 c                   85
583     d  CURLE_RTSP_SESSION_ERROR...
584     d                 c                   86
585     d  CURLE_FTP_BAD_FILE_LIST...
586     d                 c                   87
587     d  CURLE_CHUNK_FAILED...
588     d                 c                   88
589     d  CURLE_NO_CONNECTION_AVAILABLE...
590     d                 c                   89
591     d  CURLE_SSL_PINNEDPUBKEYNOTMATCH...
592     d                 c                   90
593     d  CURLE_SSL_INVALIDCERTSTATUS...
594     d                 c                   91
595     d  CURLE_HTTP2_STREAM...
596     d                 c                   92
597      *
598      /if not defined(CURL_NO_OLDIES)
599     d  CURLE_URL_MALFORMAT_USER...
600     d                 c                   4
601     d  CURLE_FTP_ACCESS_DENIED...
602     d                 c                   9
603     d  CURLE_FTP_USER_PASSWORD_INCORRECT...
604     d                 c                   10
605     d  CURLE_FTP_WEIRD_USER_REPLY...
606     d                 c                   12
607     d  CURLE_FTP_CANT_RECONNECT...
608     d                 c                   16
609     d  CURLE_FTP_COULDNT_SET_BINARY...
610     d                 c                   17
611     d  CURLE_FTP_PARTIAL_FILE...
612     d                 c                   18
613     d  CURLE_FTP_WRITE_ERROR...
614     d                 c                   20
615     d  CURLE_FTP_QUOTE_ERROR...
616     d                 c                   21
617     d  CURLE_HTTP_NOT_FOUND...
618     d                 c                   22
619     d  CURLE_MALFORMAT_USER...
620     d                 c                   24
621     d  CURLE_FTP_COULDNT_STOR_FILE...
622     d                 c                   25
623     d  CURLE_OPERATION_TIMEOUTED...
624     d                 c                   28
625     d  CURLE_FTP_COULDNT_SET_ASCII...
626     d                 c                   29
627     d  CURLE_FTP_COULDNT_GET_SIZE...
628     d                 c                   32
629     d  CURLE_HTTP_RANGE_ERROR...
630     d                 c                   33
631     d  CURLE_FTP_BAD_DOWNLOAD_RESUME...
632     d                 c                   36
633     d  CURLE_LIBRARY_NOT_FOUND...
634     d                 c                   40
635     d  CURLE_BAD_CALLING_ORDER...
636     d                 c                   44
637     d  CURLE_HTTP_PORT_FAILED...
638     d                 c                   45
639     d  CURLE_BAD_PASSWORD_ENTERED...
640     d                 c                   46
641     d  CURLE_UNKNOWN_TELNET_OPTION...
642     d                 c                   48
643     d  CURLE_OBSOLETE...
644     d                 c                   50
645     d  CURLE_SSL_PEER_CERTIFICATE...
646     d                 c                   51
647     d  CURLE_SHARE_IN_USE...
648     d                 c                   57
649     d  CURLE_SSL_CACERT...
650     d                 c                   60
651     d  CURLE_FTP_SSL_FAILED...
652     d                 c                   64
653     d  CURLE_TFTP_DISKFULL...
654     d                 c                   70
655     d  CURLE_TFTP_EXISTS...
656     d                 c                   73
657     d  CURLE_ALREADY_COMPLETE...
658     d                 c                   99999
659      /endif
660      *
661     d curlioerr       s             10i 0 based(######ptr######)               Enum
662     d  CURLIOE_OK     c                   0
663     d  CURLIOE_UNKNOWNCMD...
664     d                 c                   1
665     d  CURLIOE_FAILRESTART...
666     d                 c                   2
667      *
668     d curlfiletype    s             10i 0 based(######ptr######)               Enum
669     d  CURLFILETYPE_FILE...
670     d                 c                   0
671     d  CURLFILETYPE_DIRECTORY...
672     d                 c                   1
673     d  CURLFILETYPE_SYMLINK...
674     d                 c                   2
675     d  CURLFILETYPE_DEVICE_BLOCK...
676     d                 c                   3
677     d  CURLFILETYPE_DEVICE_CHAR...
678     d                 c                   4
679     d  CURLFILETYPE_NAMEDPIPE...
680     d                 c                   5
681     d  CURLFILETYPE_SOCKET...
682     d                 c                   6
683     d  CURLFILETYPE_DOOR...
684     d                 c                   7
685      *
686     d curliocmd       s             10i 0 based(######ptr######)               Enum
687     d  CURLIOCMD_NOP  c                   0
688     d  CURLIOCMD_RESTARTREAD...
689     d                 c                   1
690      *
691     d curl_infotype   s             10i 0 based(######ptr######)               Enum
692     d  CURLINFO_TEXT...
693     d                 c                   0
694     d  CURLINFO_HEADER_IN...
695     d                 c                   1
696     d  CURLINFO_HEADER_OUT...
697     d                 c                   2
698     d  CURLINFO_DATA_IN...
699     d                 c                   3
700     d  CURLINFO_DATA_OUT...
701     d                 c                   4
702     d  CURLINFO_SSL_DATA_IN...
703     d                 c                   5
704     d  CURLINFO_SSL_DATA_OUT...
705     d                 c                   6
706     d  CURLINFO_END...
707     d                 c                   7
708      *
709     d curl_proxytype  s             10i 0 based(######ptr######)               Enum
710     d  CURLPROXY_HTTP...
711     d                 c                   0
712     d  CURLPROXY_HTTP_1_0...
713     d                 c                   1
714     d  CURLPROXY_HTTPS...
715     d                 c                   2
716     d  CURLPROXY_SOCKS4...
717     d                 c                   4
718     d  CURLPROXY_SOCKS5...
719     d                 c                   5
720     d  CURLPROXY_SOCKS4A...
721     d                 c                   6
722     d  CURLPROXY_SOCKS5_HOSTNAME...
723     d                 c                   7
724      *
725     d curl_khstat     s             10i 0 based(######ptr######)               Enum
726     d  CURLKHSTAT_FINE_ADD_TO_FILE...
727     d                 c                   0
728     d  CURLKHSTAT_FINE...
729     d                 c                   1
730     d  CURLKHSTAT_REJECT...
731     d                 c                   2
732     d  CURLKHSTAT_DEFER...
733     d                 c                   3
734     d  CURLKHSTAT_LAST...
735     d                 c                   4
736      *
737     d curl_khmatch    s             10i 0 based(######ptr######)               Enum
738     d  CURLKHMATCH_OK...
739     d                 c                   0
740     d  CURLKHMATCH_MISMATCH...
741     d                 c                   1
742     d  CURLKHMATCH_MISSING...
743     d                 c                   2
744     d  CURLKHMATCH_LAST...
745     d                 c                   3
746      *
747     d curl_usessl     s             10i 0 based(######ptr######)               Enum
748     d  CURLUSESSL_NONE...
749     d                 c                   0
750     d  CURLUSESSL_TRY...
751     d                 c                   1
752     d  CURLUSESSL_CONTROL...
753     d                 c                   2
754     d  CURLUSESSL_ALL...
755     d                 c                   3
756      *
757     d CURLSSLOPT_ALLOW_BEAST...
758     d                 c                   X'0001'
759     d CURLSSLOPT_NO_REVOKE...
760     d                 c                   X'0002'
761      *
762     d CURL_HET_DEFAULT...
763     d                 c                   200
764      *
765     d CURL_UPKEEP_INTERVAL_DEFAULT...
766     d                 c                   60000
767      *
768      /if not defined(CURL_NO_OLDIES)
769     d curl_ftpssl     s                   like(curl_usessl)
770     d                                     based(######ptr######)
771     d  CURLFTPSSL_NONE...
772     d                 c                   0
773     d  CURLFTPSSL_TRY...
774     d                 c                   1
775     d  CURLFTPSSL_CONTROL...
776     d                 c                   2
777     d  CURLFTPSSL_ALL...
778     d                 c                   3
779      /endif
780      *
781     d curl_ftpccc     s             10i 0 based(######ptr######)               Enum
782     d  CURLFTPSSL_CCC_NONE...
783     d                 c                   0
784     d  CURLFTPSSL_CCC_PASSIVE...
785     d                 c                   1
786     d  CURLFTPSSL_CCC_ACTIVE...
787     d                 c                   2
788      *
789     d curl_ftpauth    s             10i 0 based(######ptr######)               Enum
790     d  CURLFTPAUTH_DEFAULT...
791     d                 c                   0
792     d  CURLFTPAUTH_SSL...
793     d                 c                   1
794     d  CURLFTPAUTH_TLS...
795     d                 c                   2
796      *
797     d curl_ftpcreatedir...
798     d                 s             10i 0 based(######ptr######)               Enum
799     d  CURLFTP_CREATE_DIR_NONE...
800     d                 c                   0
801     d  CURLFTP_CREATE_DIR...
802     d                 c                   1
803     d  CURLFTP_CREATE_DIR_RETRY...
804     d                 c                   2
805      *
806     d curl_ftpmethod  s             10i 0 based(######ptr######)               Enum
807     d  CURLFTPMETHOD_DEFAULT...
808     d                 c                   0
809     d  CURLFTPMETHOD_MULTICWD...
810     d                 c                   1
811     d  CURLFTPMETHOD_NOCWD...
812     d                 c                   2
813     d  CURLFTPMETHOD_SINGLECWD...
814     d                 c                   3
815      *
816     d  CURLHEADER_UNIFIED...
817     d                 c                   X'00000000'
818     d  CURLHEADER_SEPARATE...
819     d                 c                   X'00000001'
820      *
821     d  CURLALTSVC_IMMEDIATELY...
822     d                 c                   X'00000001'
823     d  CURLALTSVC_ALTUSED...
824     d                 c                   X'00000002'
825     d  CURLALTSVC_READONLYFILE...
826     d                 c                   X'00000004'
827     d  CURLALTSVC_H1...
828     d                 c                   X'00000008'
829     d  CURLALTSVC_H2...
830     d                 c                   X'00000010'
831     d  CURLALTSVC_H3...
832     d                 c                   X'00000020'
833      *
834     d  CURLPROTO_HTTP...
835     d                 c                   X'00000001'
836     d  CURLPROTO_HTTPS...
837     d                 c                   X'00000002'
838     d  CURLPROTO_FTP...
839     d                 c                   X'00000004'
840     d  CURLPROTO_FTPS...
841     d                 c                   X'00000008'
842     d  CURLPROTO_SCP...
843     d                 c                   X'00000010'
844     d  CURLPROTO_SFTP...
845     d                 c                   X'00000020'
846     d  CURLPROTO_TELNET...
847     d                 c                   X'00000040'
848     d  CURLPROTO_LDAP...
849     d                 c                   X'00000080'
850     d  CURLPROTO_LDAPS...
851     d                 c                   X'00000100'
852     d  CURLPROTO_DICT...
853     d                 c                   X'00000200'
854     d  CURLPROTO_FILE...
855     d                 c                   X'00000400'
856     d  CURLPROTO_TFTP...
857     d                 c                   X'00000800'
858     d  CURLPROTO_IMAP...
859     d                 c                   X'00001000'
860     d  CURLPROTO_IMAPS...
861     d                 c                   X'00002000'
862     d  CURLPROTO_POP3...
863     d                 c                   X'00004000'
864     d  CURLPROTO_POP3S...
865     d                 c                   X'00008000'
866     d  CURLPROTO_SMTP...
867     d                 c                   X'00010000'
868     d  CURLPROTO_SMTPS...
869     d                 c                   X'00020000'
870     d  CURLPROTO_RTSP...
871     d                 c                   X'00040000'
872     d  CURLPROTO_RTMP...
873     d                 c                   X'00080000'
874     d  CURLPROTO_RTMPT...
875     d                 c                   X'00100000'
876     d  CURLPROTO_RTMPTE...
877     d                 c                   X'00200000'
878     d  CURLPROTO_RTMPE...
879     d                 c                   X'00400000'
880     d  CURLPROTO_RTMPS...
881     d                 c                   X'00800000'
882     d  CURLPROTO_RTMPTS...
883     d                 c                   X'01000000'
884     d  CURLPROTO_GOPHER...
885     d                 c                   X'02000000'
886     d  CURLPROTO_SMB...
887     d                 c                   X'04000000'
888     d  CURLPROTO_SMBS...
889     d                 c                   X'08000000'
890      *
891     d CURLoption      s             10i 0 based(######ptr######)               Enum
892     d  CURLOPT_WRITEDATA...
893     d                 c                   10001
894     d  CURLOPT_URL    c                   10002
895     d  CURLOPT_PORT   c                   00003
896     d  CURLOPT_PROXY  c                   10004
897     d  CURLOPT_USERPWD...
898     d                 c                   10005
899     d  CURLOPT_PROXYUSERPWD...
900     d                 c                   10006
901     d  CURLOPT_RANGE  c                   10007
902     d  CURLOPT_READDATA...
903     d                 c                   10009
904     d  CURLOPT_ERRORBUFFER...
905     d                 c                   10010
906     d  CURLOPT_WRITEFUNCTION...
907     d                 c                   20011
908     d  CURLOPT_READFUNCTION...
909     d                 c                   20012
910     d  CURLOPT_TIMEOUT...
911     d                 c                   00013
912     d  CURLOPT_INFILESIZE...
913     d                 c                   00014
914     d  CURLOPT_POSTFIELDS...
915     d                 c                   10015
916     d  CURLOPT_REFERER...
917     d                 c                   10016
918     d  CURLOPT_FTPPORT...
919     d                 c                   10017
920     d  CURLOPT_USERAGENT...
921     d                 c                   10018
922     d  CURLOPT_LOW_SPEED_LIMIT...
923     d                 c                   00019
924     d  CURLOPT_LOW_SPEED_TIME...
925     d                 c                   00020
926     d  CURLOPT_RESUME_FROM...
927     d                 c                   00021
928     d  CURLOPT_COOKIE...
929     d                 c                   10022
930     d  CURLOPT_HTTPHEADER...
931     d                 c                   10023
932     d  CURLOPT_RTSPHEADER...
933     d                 c                   10023
934     d  CURLOPT_HTTPPOST...
935     d                 c                   10024
936     d  CURLOPT_SSLCERT...
937     d                 c                   10025
938     d  CURLOPT_KEYPASSWD...
939     d                 c                   10026
940     d  CURLOPT_CRLF   c                   00027
941     d  CURLOPT_QUOTE  c                   10028
942     d  CURLOPT_HEADERDATA...
943     d                 c                   10029
944     d  CURLOPT_COOKIEFILE...
945     d                 c                   10031
946     d  CURLOPT_SSLVERSION...
947     d                 c                   00032
948     d  CURLOPT_TIMECONDITION...
949     d                 c                   00033
950     d  CURLOPT_TIMEVALUE...
951     d                 c                   00034
952     d  CURLOPT_CUSTOMREQUEST...
953     d                 c                   10036
954     d  CURLOPT_STDERR...
955     d                 c                   10037
956     d  CURLOPT_POSTQUOTE...
957     d                 c                   10039
958     d  CURLOPT_VERBOSE...
959     d                 c                   00041
960     d  CURLOPT_HEADER...
961     d                 c                   00042
962     d  CURLOPT_NOPROGRESS...
963     d                 c                   00043
964     d  CURLOPT_NOBODY...
965     d                 c                   00044
966     d  CURLOPT_FAILONERROR...
967     d                 c                   00045
968     d  CURLOPT_UPLOAD...
969     d                 c                   00046
970     d  CURLOPT_POST   c                   00047
971     d  CURLOPT_DIRLISTONLY...
972     d                 c                   00048
973     d  CURLOPT_APPEND...
974     d                 c                   00050
975     d  CURLOPT_NETRC  c                   00051
976     d  CURLOPT_FOLLOWLOCATION...
977     d                 c                   00052
978     d  CURLOPT_TRANSFERTEXT...
979     d                 c                   00053
980     d  CURLOPT_PUT    c                   00054
981     d  CURLOPT_PROGRESSFUNCTION...
982     d                 c                   20056
983     d  CURLOPT_PROGRESSDATA...
984     d                 c                   10057
985     d  CURLOPT_XFERINFODATA...
986     d                 c                   10057                                PROGRESSDATA alias
987     d  CURLOPT_AUTOREFERER...
988     d                 c                   00058
989     d  CURLOPT_PROXYPORT...
990     d                 c                   00059
991     d  CURLOPT_POSTFIELDSIZE...
992     d                 c                   00060
993     d  CURLOPT_HTTPPROXYTUNNEL...
994     d                 c                   00061
995     d  CURLOPT_INTERFACE...
996     d                 c                   10062
997     d  CURLOPT_KRBLEVEL...
998     d                 c                   10063
999     d  CURLOPT_SSL_VERIFYPEER...
1000     d                 c                   00064
1001     d  CURLOPT_CAINFO...
1002     d                 c                   10065
1003     d  CURLOPT_MAXREDIRS...
1004     d                 c                   00068
1005     d  CURLOPT_FILETIME...
1006     d                 c                   00069
1007     d  CURLOPT_TELNETOPTIONS...
1008     d                 c                   10070
1009     d  CURLOPT_MAXCONNECTS...
1010     d                 c                   00071
1011     d  CURLOPT_FRESH_CONNECT...
1012     d                 c                   00074
1013     d  CURLOPT_FORBID_REUSE...
1014     d                 c                   00075
1015     d  CURLOPT_RANDOM_FILE...
1016     d                 c                   10076
1017     d  CURLOPT_EGDSOCKET...
1018     d                 c                   10077
1019     d  CURLOPT_CONNECTTIMEOUT...
1020     d                 c                   00078
1021     d  CURLOPT_HEADERFUNCTION...
1022     d                 c                   20079
1023     d  CURLOPT_HTTPGET...
1024     d                 c                   00080
1025     d  CURLOPT_SSL_VERIFYHOST...
1026     d                 c                   00081
1027     d  CURLOPT_COOKIEJAR...
1028     d                 c                   10082
1029     d  CURLOPT_SSL_CIPHER_LIST...
1030     d                 c                   10083
1031     d  CURLOPT_HTTP_VERSION...
1032     d                 c                   00084
1033     d  CURLOPT_FTP_USE_EPSV...
1034     d                 c                   00085
1035     d  CURLOPT_SSLCERTTYPE...
1036     d                 c                   10086
1037     d  CURLOPT_SSLKEY...
1038     d                 c                   10087
1039     d  CURLOPT_SSLKEYTYPE...
1040     d                 c                   10088
1041     d  CURLOPT_SSLENGINE...
1042     d                 c                   10089
1043     d  CURLOPT_SSLENGINE_DEFAULT...
1044     d                 c                   00090
1045     d  CURLOPT_DNS_USE_GLOBAL_CACHE...
1046     d                 c                   00091
1047     d  CURLOPT_DNS_CACHE_TIMEOUT...
1048     d                 c                   00092
1049     d  CURLOPT_PREQUOTE...
1050     d                 c                   10093
1051     d  CURLOPT_DEBUGFUNCTION...
1052     d                 c                   20094
1053     d  CURLOPT_DEBUGDATA...
1054     d                 c                   10095
1055     d  CURLOPT_COOKIESESSION...
1056     d                 c                   00096
1057     d  CURLOPT_CAPATH...
1058     d                 c                   10097
1059     d  CURLOPT_BUFFERSIZE...
1060     d                 c                   00098
1061     d  CURLOPT_NOSIGNAL...
1062     d                 c                   00099
1063     d  CURLOPT_SHARE  c                   10100
1064     d  CURLOPT_PROXYTYPE...
1065     d                 c                   00101
1066     d  CURLOPT_ACCEPT_ENCODING...
1067     d                 c                   10102
1068     d  CURLOPT_PRIVATE...
1069     d                 c                   10103
1070     d  CURLOPT_HTTP200ALIASES...
1071     d                 c                   10104
1072     d  CURLOPT_UNRESTRICTED_AUTH...
1073     d                 c                   00105
1074     d  CURLOPT_FTP_USE_EPRT...
1075     d                 c                   00106
1076     d  CURLOPT_HTTPAUTH...
1077     d                 c                   00107
1078     d  CURLOPT_SSL_CTX_FUNCTION...
1079     d                 c                   20108
1080     d  CURLOPT_SSL_CTX_DATA...
1081     d                 c                   10109
1082     d  CURLOPT_FTP_CREATE_MISSING_DIRS...
1083     d                 c                   00110
1084     d  CURLOPT_PROXYAUTH...
1085     d                 c                   00111
1086     d  CURLOPT_FTP_RESPONSE_TIMEOUT...
1087     d                 c                   00112
1088     d  CURLOPT_IPRESOLVE...
1089     d                 c                   00113
1090     d  CURLOPT_MAXFILESIZE...
1091     d                 c                   00114
1092     d  CURLOPT_INFILESIZE_LARGE...
1093     d                 c                   30115
1094     d  CURLOPT_RESUME_FROM_LARGE...
1095     d                 c                   30116
1096     d  CURLOPT_MAXFILESIZE_LARGE...
1097     d                 c                   30117
1098     d  CURLOPT_NETRC_FILE...
1099     d                 c                   10118
1100     d  CURLOPT_USE_SSL...
1101     d                 c                   00119
1102     d  CURLOPT_POSTFIELDSIZE_LARGE...
1103     d                 c                   30120
1104     d  CURLOPT_TCP_NODELAY...
1105     d                 c                   00121
1106     d  CURLOPT_FTPSSLAUTH...
1107     d                 c                   00129
1108     d  CURLOPT_IOCTLFUNCTION...
1109     d                 c                   20130
1110     d  CURLOPT_IOCTLDATA...
1111     d                 c                   10131
1112     d  CURLOPT_FTP_ACCOUNT...
1113     d                 c                   10134
1114     d  CURLOPT_COOKIELIST...
1115     d                 c                   10135
1116     d  CURLOPT_IGNORE_CONTENT_LENGTH...
1117     d                 c                   00136
1118     d  CURLOPT_FTP_SKIP_PASV_IP...
1119     d                 c                   00137
1120     d  CURLOPT_FTP_FILEMETHOD...
1121     d                 c                   00138
1122     d  CURLOPT_LOCALPORT...
1123     d                 c                   00139
1124     d  CURLOPT_LOCALPORTRANGE...
1125     d                 c                   00140
1126     d  CURLOPT_CONNECT_ONLY...
1127     d                 c                   00141
1128     d  CURLOPT_CONV_FROM_NETWORK_FUNCTION...
1129     d                 c                   20142
1130     d  CURLOPT_CONV_TO_NETWORK_FUNCTION...
1131     d                 c                   20143
1132     d  CURLOPT_CONV_FROM_UTF8_FUNCTION...
1133     d                 c                   20144
1134     d  CURLOPT_MAX_SEND_SPEED_LARGE...
1135     d                 c                   30145
1136     d  CURLOPT_MAX_RECV_SPEED_LARGE...
1137     d                 c                   30146
1138     d  CURLOPT_FTP_ALTERNATIVE_TO_USER...
1139     d                 c                   10147
1140     d  CURLOPT_SOCKOPTFUNCTION...
1141     d                 c                   20148
1142     d  CURLOPT_SOCKOPTDATA...
1143     d                 c                   10149
1144     d  CURLOPT_SSL_SESSIONID_CACHE...
1145     d                 c                   00150
1146     d  CURLOPT_SSH_AUTH_TYPES...
1147     d                 c                   00151
1148     d  CURLOPT_SSH_PUBLIC_KEYFILE...
1149     d                 c                   10152
1150     d  CURLOPT_SSH_PRIVATE_KEYFILE...
1151     d                 c                   10153
1152     d  CURLOPT_FTP_SSL_CCC...
1153     d                 c                   00154
1154     d  CURLOPT_TIMEOUT_MS...
1155     d                 c                   00155
1156     d  CURLOPT_CONNECTTIMEOUT_MS...
1157     d                 c                   00156
1158     d  CURLOPT_HTTP_TRANSFER_DECODING...
1159     d                 c                   00157
1160     d  CURLOPT_HTTP_CONTENT_DECODING...
1161     d                 c                   00158
1162     d  CURLOPT_NEW_FILE_PERMS...
1163     d                 c                   00159
1164     d  CURLOPT_NEW_DIRECTORY_PERMS...
1165     d                 c                   00160
1166     d  CURLOPT_POSTREDIR...
1167     d                 c                   00161
1168     d  CURLOPT_SSH_HOST_PUBLIC_KEY_MD5...
1169     d                 c                   10162
1170     d  CURLOPT_OPENSOCKETFUNCTION...
1171     d                 c                   20163
1172     d  CURLOPT_OPENSOCKETDATA...
1173     d                 c                   10164
1174     d  CURLOPT_COPYPOSTFIELDS...
1175     d                 c                   10165
1176     d  CURLOPT_PROXY_TRANSFER_MODE...
1177     d                 c                   00166
1178     d  CURLOPT_SEEKFUNCTION...
1179     d                 c                   20167
1180     d  CURLOPT_SEEKDATA...
1181     d                 c                   10168
1182     d  CURLOPT_CRLFILE...
1183     d                 c                   10169
1184     d  CURLOPT_ISSUERCERT...
1185     d                 c                   10170
1186     d  CURLOPT_ADDRESS_SCOPE...
1187     d                 c                   00171
1188     d  CURLOPT_CERTINFO...
1189     d                 c                   00172
1190     d  CURLOPT_USERNAME...
1191     d                 c                   10173
1192     d  CURLOPT_PASSWORD...
1193     d                 c                   10174
1194     d  CURLOPT_PROXYUSERNAME...
1195     d                 c                   10175
1196     d  CURLOPT_PROXYPASSWORD...
1197     d                 c                   10176
1198     d  CURLOPT_NOPROXY...
1199     d                 c                   10177
1200     d  CURLOPT_TFTP_BLKSIZE...
1201     d                 c                   00178
1202     d  CURLOPT_SOCKS5_GSSAPI_SERVICE...
1203     d                 c                   10179
1204     d  CURLOPT_SOCKS5_GSSAPI_NEC...
1205     d                 c                   00180
1206     d  CURLOPT_PROTOCOLS...
1207     d                 c                   00181
1208     d  CURLOPT_REDIR_PROTOCOLS...
1209     d                 c                   00182
1210     d  CURLOPT_SSH_KNOWNHOSTS...
1211     d                 c                   10183
1212     d  CURLOPT_SSH_KEYFUNCTION...
1213     d                 c                   20184
1214     d  CURLOPT_SSH_KEYDATA...
1215     d                 c                   10185
1216     d  CURLOPT_MAIL_FROM...
1217     d                 c                   10186
1218     d  CURLOPT_MAIL_RCPT...
1219     d                 c                   10187
1220     d  CURLOPT_FTP_USE_PRET...
1221     d                 c                   00188
1222     d  CURLOPT_RTSP_REQUEST...
1223     d                 c                   00189
1224     d  CURLOPT_RTSP_SESSION_ID...
1225     d                 c                   10190
1226     d  CURLOPT_RTSP_STREAM_URI...
1227     d                 c                   10191
1228     d  CURLOPT_RTSP_TRANSPORT...
1229     d                 c                   10192
1230     d  CURLOPT_RTSP_CLIENT_CSEQ...
1231     d                 c                   00193
1232     d  CURLOPT_RTSP_SERVER_CSEQ...
1233     d                 c                   00194
1234     d  CURLOPT_INTERLEAVEDATA...
1235     d                 c                   10195
1236     d  CURLOPT_INTERLEAVEFUNCTION...
1237     d                 c                   20196
1238     d  CURLOPT_WILDCARDMATCH...
1239     d                 c                   00197
1240     d  CURLOPT_CHUNK_BGN_FUNCTION...
1241     d                 c                   20198
1242     d  CURLOPT_CHUNK_END_FUNCTION...
1243     d                 c                   20199
1244     d  CURLOPT_FNMATCH_FUNCTION...
1245     d                 c                   20200
1246     d  CURLOPT_CHUNK_DATA...
1247     d                 c                   10201
1248     d  CURLOPT_FNMATCH_DATA...
1249     d                 c                   10202
1250     d  CURLOPT_RESOLVE...
1251     d                 c                   10203
1252     d  CURLOPT_TLSAUTH_USERNAME...
1253     d                 c                   10204
1254     d  CURLOPT_TLSAUTH_PASSWORD...
1255     d                 c                   10205
1256     d  CURLOPT_TLSAUTH_TYPE...
1257     d                 c                   10206
1258     d  CURLOPT_TRANSFER_ENCODING...
1259     d                 c                   00207
1260     d  CURLOPT_CLOSESOCKETFUNCTION...
1261     d                 c                   20208
1262     d  CURLOPT_CLOSESOCKETDATA...
1263     d                 c                   10209
1264     d  CURLOPT_GSSAPI_DELEGATION...
1265     d                 c                   00210
1266     d  CURLOPT_DNS_SERVERS...
1267     d                 c                   10211
1268     d  CURLOPT_ACCEPTTIMEOUT_MS...
1269     d                 c                   00212
1270     d  CURLOPT_TCP_KEEPALIVE...
1271     d                 c                   00213
1272     d  CURLOPT_TCP_KEEPIDLE...
1273     d                 c                   00214
1274     d  CURLOPT_TCP_KEEPINTVL...
1275     d                 c                   00215
1276     d  CURLOPT_SSL_OPTIONS...
1277     d                 c                   00216
1278     d  CURLOPT_MAIL_AUTH...
1279     d                 c                   10217
1280     d  CURLOPT_SASL_IR...
1281     d                 c                   00218
1282     d  CURLOPT_XFERINFOFUNCTION...
1283     d                 c                   20219
1284     d  CURLOPT_XOAUTH2_BEARER...
1285     d                 c                   10220
1286     d  CURLOPT_DNS_INTERFACE...
1287     d                 c                   10221
1288     d  CURLOPT_DNS_LOCAL_IP4...
1289     d                 c                   10222
1290     d  CURLOPT_DNS_LOCAL_IP6...
1291     d                 c                   10223
1292     d  CURLOPT_LOGIN_OPTIONS...
1293     d                 c                   10224
1294     d  CURLOPT_SSL_ENABLE_NPN...
1295     d                 c                   00225
1296     d  CURLOPT_SSL_ENABLE_ALPN...
1297     d                 c                   00226
1298     d  CURLOPT_EXPECT_100_TIMEOUT_MS...
1299     d                 c                   00227
1300     d  CURLOPT_PROXYHEADER...
1301     d                 c                   10228
1302     d  CURLOPT_HEADEROPT...
1303     d                 c                   00229
1304     d  CURLOPT_PINNEDPUBLICKEY...
1305     d                 c                   10230
1306     d  CURLOPT_UNIX_SOCKET_PATH...
1307     d                 c                   10231
1308     d  CURLOPT_SSL_VERIFYSTATUS...
1309     d                 c                   00232
1310     d  CURLOPT_SSL_FALSESTART...
1311     d                 c                   00233
1312     d  CURLOPT_PATH_AS_IS...
1313     d                 c                   00234
1314     d  CURLOPT_PROXY_SERVICE_NAME...
1315     d                 c                   10235
1316     d  CURLOPT_SERVICE_NAME...
1317     d                 c                   10236
1318     d  CURLOPT_PIPEWAIT...
1319     d                 c                   00237
1320     d  CURLOPT_DEFAULT_PROTOCOL...
1321     d                 c                   10238
1322     d  CURLOPT_STREAM_WEIGHT...
1323     d                 c                   00239
1324     d  CURLOPT_STREAM_DEPENDS...
1325     d                 c                   10240
1326     d  CURLOPT_STREAM_DEPENDS_E...
1327     d                 c                   10241
1328     d  CURLOPT_TFTP_NO_OPTIONS...
1329     d                 c                   00242
1330     d  CURLOPT_CONNECT_TO...
1331     d                 c                   10243
1332     d  CURLOPT_TCP_FASTOPEN...
1333     d                 c                   00244
1334     d  CURLOPT_KEEP_SENDING_ON_ERROR...
1335     d                 c                   00245
1336     d  CURLOPT_PROXY_CAINFO...
1337     d                 c                   10246
1338     d  CURLOPT_PROXY_CAPATH...
1339     d                 c                   10247
1340     d  CURLOPT_PROXY_SSL_VERIFYPEER...
1341     d                 c                   00248
1342     d  CURLOPT_PROXY_SSL_VERIFYHOST...
1343     d                 c                   00249
1344     d  CURLOPT_PROXY_SSLVERSION...
1345     d                 c                   00250
1346     d  CURLOPT_PROXY_TLSAUTH_USERNAME...
1347     d                 c                   10251
1348     d  CURLOPT_PROXY_TLSAUTH_PASSWORD...
1349     d                 c                   10252
1350     d  CURLOPT_PROXY_TLSAUTH_TYPE...
1351     d                 c                   10253
1352     d  CURLOPT_PROXY_SSLCERT...
1353     d                 c                   10254
1354     d  CURLOPT_PROXY_SSLCERTTYPE...
1355     d                 c                   10255
1356     d  CURLOPT_PROXY_SSLKEY...
1357     d                 c                   10256
1358     d  CURLOPT_PROXY_SSLKEYTYPE...
1359     d                 c                   10257
1360     d  CURLOPT_PROXY_KEYPASSWD...
1361     d                 c                   10258
1362     d  CURLOPT_PROXY_SSL_CIPHER_LIST...
1363     d                 c                   10259
1364     d  CURLOPT_PROXY_CRLFILE...
1365     d                 c                   10260
1366     d  CURLOPT_PROXY_SSL_OPTIONS...
1367     d                 c                   00261
1368     d  CURLOPT_PRE_PROXY...
1369     d                 c                   10262
1370     d  CURLOPT_PROXY_PINNEDPUBLICKEY...
1371     d                 c                   10263
1372     d  CURLOPT_ABSTRACT_UNIX_SOCKET...
1373     d                 c                   10264
1374     d  CURLOPT_SUPPRESS_CONNECT_HEADERS...
1375     d                 c                   00265
1376     d  CURLOPT_REQUEST_TARGET...
1377     d                 c                   10266
1378     d  CURLOPT_SOCKS5_AUTH...
1379     d                 c                   00267
1380     d  CURLOPT_SSH_COMPRESSION...
1381     d                 c                   00268
1382     d  CURLOPT_MIMEPOST...
1383     d                 c                   10269
1384     d  CURLOPT_TIMEVALUE_LARGE...
1385     d                 c                   30270
1386     d  CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS...
1387     d                 c                   00271
1388     d  CURLOPT_RESOLVER_START_FUNCTION...
1389     d                 c                   20272
1390     d  CURLOPT_RESOLVER_START_DATA...
1391     d                 c                   10273
1392     d  CURLOPT_HAPROXYPROTOCOL...
1393     d                 c                   00274
1394     d  CURLOPT_DNS_SHUFFLE_ADDRESSES...
1395     d                 c                   00275
1396     d  CURLOPT_TLS13_CIPHERS...
1397     d                 c                   10276
1398     d  CURLOPT_PROXY_TLS13_CIPHERS...
1399     d                 c                   10277
1400     d  CURLOPT_DISALLOW_USERNAME_IN_URL...
1401     d                 c                   00278
1402     d  CURLOPT_DOH_URL...
1403     d                 c                   10279
1404     d  CURLOPT_UPLOAD_BUFFERSIZE...
1405     d                 c                   00280
1406     d  CURLOPT_UPKEEP_INTERVAL_MS...
1407     d                 c                   00281
1408     d  CURLOPT_CURLU  c                   10282
1409     d  CURLOPT_TRAILERFUNCTION...
1410     d                 c                   20283
1411     d  CURLOPT_TRAILERDATA...
1412     d                 c                   10284
1413     d  CURLOPT_HTTP09_ALLOWED...
1414     d                 c                   00285
1415     d  CURLOPT_ALTSVC_CTRL...
1416     d                 c                   00286
1417     d  CURLOPT_ALTSVC...
1418     d                 c                   10287
1419      *
1420      /if not defined(CURL_NO_OLDIES)
1421     d  CURLOPT_FILE   c                   10001
1422     d  CURLOPT_INFILE...
1423     d                 c                   10009
1424     d  CURLOPT_SSLKEYPASSWD...
1425     d                 c                   10026
1426     d  CURLOPT_SSLCERTPASSWD...
1427     d                 c                   10026
1428     d  CURLOPT_WRITEHEADER...
1429     d                 c                   10029
1430     d  CURLOPT_WRITEINFO...
1431     d                 c                   10040
1432     d  CURLOPT_FTPLISTONLY...
1433     d                 c                   00048
1434     d  CURLOPT_FTPAPPEND...
1435     d                 c                   00050
1436     d  CURLOPT_CLOSEPOLICY...
1437     d                 c                   00072
1438     d  CURLOPT_KRB4LEVEL...
1439     d                 c                   10063
1440     d  CURLOPT_ENCODING...
1441     d                 c                   10102
1442     d  CURLOPT_SERVER_RESPONSE_TIMEOUT...
1443     d                 c                   00112
1444     d  CURLOPT_FTP_SSL...
1445     d                 c                   00119
1446     d  CURLOPT_POST301...
1447     d                 c                   00161
1448      /endif
1449      *
1450     d CURLFORMcode    s             10i 0 based(######ptr######)               Enum
1451     d  CURL_FORMADD_OK...
1452     d                 c                   0
1453     d  CURL_FORMADD_MEMORY...
1454     d                 c                   1
1455     d  CURL_FORMADD_OPTION_TWICE...
1456     d                 c                   2
1457     d  CURL_FORMADD_NULL...
1458     d                 c                   3
1459     d  CURL_FORMADD_UNKNOWN_OPTION...
1460     d                 c                   4
1461     d  CURL_FORMADD_INCOMPLETE...
1462     d                 c                   5
1463     d  CURL_FORMADD_ILLEGAL_ARRAY...
1464     d                 c                   6
1465     d  CURL_FORMADD_DISABLED...
1466     d                 c                   7
1467      *
1468     d CURLformoption  s             10i 0 based(######ptr######)               Enum
1469     d  CURLFORM_NOTHING...
1470     d                 c                   0
1471     d  CURLFORM_COPYNAME...
1472     d                 c                   1
1473     d  CURLFORM_PTRNAME...
1474     d                 c                   2
1475     d  CURLFORM_NAMELENGTH...
1476     d                 c                   3
1477     d  CURLFORM_COPYCONTENTS...
1478     d                 c                   4
1479     d  CURLFORM_PTRCONTENTS...
1480     d                 c                   5
1481     d  CURLFORM_CONTENTSLENGTH...
1482     d                 c                   6
1483     d  CURLFORM_FILECONTENT...
1484     d                 c                   7
1485     d  CURLFORM_ARRAY...
1486     d                 c                   8
1487     d  CURLFORM_OBSOLETE...
1488     d                 c                   9
1489     d  CURLFORM_FILE...
1490     d                 c                   10
1491     d  CURLFORM_BUFFER...
1492     d                 c                   11
1493     d  CURLFORM_BUFFERPTR...
1494     d                 c                   12
1495     d  CURLFORM_BUFFERLENGTH...
1496     d                 c                   13
1497     d  CURLFORM_CONTENTTYPE...
1498     d                 c                   14
1499     d  CURLFORM_CONTENTHEADER...
1500     d                 c                   15
1501     d  CURLFORM_FILENAME...
1502     d                 c                   16
1503     d  CURLFORM_END...
1504     d                 c                   17
1505     d  CURLFORM_OBSOLETE2...
1506     d                 c                   18
1507     d  CURLFORM_STREAM...
1508     d                 c                   19
1509     d  CURLFORM_CONTENTLEN...
1510     d                 c                   20
1511      *
1512     d CURLINFO        s             10i 0 based(######ptr######)               Enum
1513     d  CURLINFO_EFFECTIVE_URL...                                               CURLINFO_STRING + 1
1514     d                 c                   X'00100001'
1515     d  CURLINFO_RESPONSE_CODE...                                               CURLINFO_LONG   + 2
1516     d                 c                   X'00200002'
1517     d  CURLINFO_TOTAL_TIME...                                                  CURLINFO_DOUBLE + 3
1518     d                 c                   X'00300003'
1519     d  CURLINFO_NAMELOOKUP_TIME...                                             CURLINFO_DOUBLE + 4
1520     d                 c                   X'00300004'
1521     d  CURLINFO_CONNECT_TIME...                                                CURLINFO_DOUBLE + 5
1522     d                 c                   X'00300005'
1523     d  CURLINFO_PRETRANSFER_TIME...                                            CURLINFO_DOUBLE + 6
1524     d                 c                   X'00300006'
1525     d  CURLINFO_SIZE_UPLOAD...                                                 CURLINFO_DOUBLE + 7
1526     d                 c                   X'00300007'
1527     d  CURLINFO_SIZE_UPLOAD_T...                                               CURLINFO_OFF_T  + 7
1528     d                 c                   X'00600007'
1529     d  CURLINFO_SIZE_DOWNLOAD...                                               CURLINFO_DOUBLE + 8
1530     d                 c                   X'00300008'
1531     d  CURLINFO_SIZE_DOWNLOAD_T...                                             CURLINFO_OFF_T  + 8
1532     d                 c                   X'00600008'
1533     d  CURLINFO_SPEED_DOWNLOAD...                                              CURLINFO_DOUBLE + 9
1534     d                 c                   X'00300009'
1535     d  CURLINFO_SPEED_DOWNLOAD_T...                                            CURLINFO_OFF_T  + 9
1536     d                 c                   X'00600009'
1537     d  CURLINFO_SPEED_UPLOAD...                                                CURLINFO_DOUBLE + 10
1538     d                 c                   X'0030000A'
1539     d  CURLINFO_SPEED_UPLOAD_T...                                              CURLINFO_OFF_T  + 10
1540     d                 c                   X'0060000A'
1541     d  CURLINFO_HEADER_SIZE...                                                 CURLINFO_LONG   + 11
1542     d                 c                   X'0020000B'
1543     d  CURLINFO_REQUEST_SIZE...                                                CURLINFO_LONG   + 12
1544     d                 c                   X'0020000C'
1545     d  CURLINFO_SSL_VERIFYRESULT...                                            CURLINFO_LONG   + 13
1546     d                 c                   X'0020000D'
1547     d  CURLINFO_FILETIME...                                                    CURLINFO_LONG   + 14
1548     d                 c                   X'0020000E'
1549     d  CURLINFO_FILETIME_T...                                                  CURLINFO_OFF_T  + 14
1550     d                 c                   X'0060000E'
1551     d  CURLINFO_CONTENT_LENGTH_DOWNLOAD...                                     CURLINFO_DOUBLE + 15
1552     d                 c                   X'0030000F'
1553     d  CURLINFO_CONTENT_LENGTH_DOWNLOAD_T...                                   CURLINFO_OFF_T  + 15
1554     d                 c                   X'0060000F'
1555     d  CURLINFO_CONTENT_LENGTH_UPLOAD...                                       CURLINFO_DOUBLE + 16
1556     d                 c                   X'00300010'
1557     d  CURLINFO_CONTENT_LENGTH_UPLOAD_T...                                     CURLINFO_OFF_T  + 16
1558     d                 c                   X'00600010'
1559     d  CURLINFO_STARTTRANSFER_TIME...                                          CURLINFO_DOUBLE + 17
1560     d                 c                   X'00300011'
1561     d  CURLINFO_CONTENT_TYPE...                                                CURLINFO_STRING + 18
1562     d                 c                   X'00100012'
1563     d  CURLINFO_REDIRECT_TIME...                                               CURLINFO_DOUBLE + 19
1564     d                 c                   X'00300013'
1565     d  CURLINFO_REDIRECT_COUNT...                                              CURLINFO_LONG   + 20
1566     d                 c                   X'00200014'
1567     d  CURLINFO_PRIVATE...                                                     CURLINFO_STRING + 21
1568     d                 c                   X'00100015'
1569     d  CURLINFO_HTTP_CONNECTCODE...                                            CURLINFO_LONG   + 22
1570     d                 c                   X'00200016'
1571     d  CURLINFO_HTTPAUTH_AVAIL...                                              CURLINFO_LONG   + 23
1572     d                 c                   X'00200017'
1573     d  CURLINFO_PROXYAUTH_AVAIL...                                             CURLINFO_LONG   + 24
1574     d                 c                   X'00200018'
1575     d  CURLINFO_OS_ERRNO...                                                    CURLINFO_LONG   + 25
1576     d                 c                   X'00200019'
1577     d  CURLINFO_NUM_CONNECTS...                                                CURLINFO_LONG   + 26
1578     d                 c                   X'0020001A'
1579     d  CURLINFO_SSL_ENGINES...                                                 CURLINFO_SLIST  + 27
1580     d                 c                   X'0040001B'
1581     d  CURLINFO_COOKIELIST...                                                  CURLINFO_SLIST  + 28
1582     d                 c                   X'0040001C'
1583     d  CURLINFO_LASTSOCKET...                                                  CURLINFO_LONG   + 29
1584     d                 c                   X'0020001D'
1585     d  CURLINFO_FTP_ENTRY_PATH...                                              CURLINFO_STRING + 30
1586     d                 c                   X'0010001E'
1587     d  CURLINFO_REDIRECT_URL...                                                CURLINFO_STRING + 31
1588     d                 c                   X'0010001F'
1589     d  CURLINFO_PRIMARY_IP...                                                  CURLINFO_STRING + 32
1590     d                 c                   X'00100020'
1591     d  CURLINFO_APPCONNECT_TIME...                                             CURLINFO_DOUBLE + 33
1592     d                 c                   X'00300021'
1593     d  CURLINFO_CERTINFO...                                                    CURLINFO_SLIST + 34
1594     d                 c                   X'00400022'
1595     d  CURLINFO_CONDITION_UNMET...                                             CURLINFO_LONG + 35
1596     d                 c                   X'00200023'
1597     d  CURLINFO_RTSP_SESSION_ID...                                             CURLINFO_STRING + 36
1598     d                 c                   X'00100024'
1599     d  CURLINFO_RTSP_CLIENT_CSEQ...                                            CURLINFO_LONG + 37
1600     d                 c                   X'00200025'
1601     d  CURLINFO_RTSP_SERVER_CSEQ...                                            CURLINFO_LONG + 38
1602     d                 c                   X'00200026'
1603     d  CURLINFO_RTSP_CSEQ_RECV...                                              CURLINFO_LONG + 39
1604     d                 c                   X'00200027'
1605     d  CURLINFO_PRIMARY_PORT...                                                CURLINFO_LONG + 40
1606     d                 c                   X'00200028'
1607     d  CURLINFO_LOCAL_IP...                                                    CURLINFO_STRING + 41
1608     d                 c                   X'00100029'
1609     d  CURLINFO_LOCAL_PORT...                                                  CURLINFO_LONG + 42
1610     d                 c                   X'0020002A'
1611     d  CURLINFO_TLS_SESSION...                                                 CURLINFO_SLIST + 43
1612     d                 c                   X'0040002B'
1613     d  CURLINFO_ACTIVESOCKET...                                                CURLINFO_SOCKET + 44
1614     d                 c                   X'0050002C'
1615     d  CURLINFO_TLS_SSL_PTR...                                                 CURLINFO_SLIST + 45
1616     d                 c                   X'0040002D'
1617     d  CURLINFO_HTTP_VERSION...                                                CURLINFO_LONG + 46
1618     d                 c                   X'0020002E'
1619     d  CURLINFO_PROXY_SSL_VERIFYRESULT...                                      CURLINFO_LONG + 47
1620     d                 c                   X'0020002F'
1621     d  CURLINFO_PROTOCOL...                                                    CURLINFO_LONG + 48
1622     d                 c                   X'00200030'
1623     d  CURLINFO_SCHEME...                                                      CURLINFO_STRING + 49
1624     d                 c                   X'00100031'
1625     d  CURLINFO_TOTAL_TIME_T...                                                CURLINFO_OFF_T  + 50
1626     d                 c                   X'00600032'
1627     d  CURLINFO_NAMELOOKUP_TIME_T...                                           CURLINFO_OFF_T  + 51
1628     d                 c                   X'00600033'
1629     d  CURLINFO_CONNECT_TIME_T...                                              CURLINFO_OFF_T  + 52
1630     d                 c                   X'00600034'
1631     d  CURLINFO_PRETRANSFER_TIME_T...                                          CURLINFO_OFF_T  + 53
1632     d                 c                   X'00600035'
1633     d  CURLINFO_STARTTRANSFER_TIME_T...                                        CURLINFO_OFF_T  + 54
1634     d                 c                   X'00600036'
1635     d  CURLINFO_REDIRECT_TIME_T...                                             CURLINFO_OFF_T  + 55
1636     d                 c                   X'00600037'
1637     d  CURLINFO_APPCONNECT_TIME_T...                                           CURLINFO_OFF_T  + 56
1638     d                 c                   X'00600036'
1639      *
1640     d  CURLINFO_HTTP_CODE...                                                   Old ...RESPONSE_CODE
1641     d                 c                   X'00200002'
1642      *
1643     d curl_sslbackend...
1644     d                 s             10i 0 based(######ptr######)               Enum
1645     d  CURLSSLBACKEND_NONE...
1646     d                 c                   0
1647     d  CURLSSLBACKEND_OPENSSL...
1648     d                 c                   1
1649     d  CURLSSLBACKEND_GNUTLS...
1650     d                 c                   2
1651     d  CURLSSLBACKEND_NSS...
1652     d                 c                   3
1653     d  CURLSSLBACKEND_OBSOLETE4...
1654     d                 c                   4
1655     d  CURLSSLBACKEND_GSKIT...
1656     d                 c                   5
1657     d  CURLSSLBACKEND_POLARSSL...
1658     d                 c                   6
1659     d  CURLSSLBACKEND_CYASSL...
1660     d                 c                   7
1661     d  CURLSSLBACKEND_SCHANNEL...
1662     d                 c                   8
1663     d  CURLSSLBACKEND_DARWINSSL...
1664     d                 c                   9
1665     d  CURLSSLBACKEND_AXTLS...
1666     d                 c                   10
1667     d  CURLSSLBACKEND_MBEDTLS...
1668     d                 c                   11
1669     d  CURLSSLBACKEND_MESALINK...
1670     d                 c                   12
1671      * Aliases for clones.
1672     d  CURLSSLBACKEND_LIBRESSL...
1673     d                 c                   1
1674     d  CURLSSLBACKEND_BORINGSSL...
1675     d                 c                   1
1676     d  CURLSSLBACKEND_WOLFSSL...
1677     d                 c                   6
1678      *
1679     d curl_closepolicy...
1680     d                 s             10i 0 based(######ptr######)               Enum
1681     d  CURLCLOSEPOLICY_OLDEST...
1682     d                 c                   1
1683     d  CURLCLOSEPOLICY_LEAST_RECENTLY_USED...
1684     d                 c                   2
1685     d  CURLCLOSEPOLICY_LEAST_TRAFFIC...
1686     d                 c                   3
1687     d  CURLCLOSEPOLICY_SLOWEST...
1688     d                 c                   4
1689     d  CURLCLOSEPOLICY_CALLBACK...
1690     d                 c                   5
1691      *
1692     d curl_lock_data...
1693     d                 s             10i 0 based(######ptr######)               Enum
1694     d  CURL_LOCK_DATA_NONE...
1695     d                 c                   0
1696     d  CURL_LOCK_DATA_SHARE...
1697     d                 c                   1
1698     d  CURL_LOCK_DATA_COOKIE...
1699     d                 c                   2
1700     d  CURL_LOCK_DATA_DNS...
1701     d                 c                   3
1702     d  CURL_LOCK_DATA_SSL_SESSION...
1703     d                 c                   4
1704     d  CURL_LOCK_DATA_CONNECT...
1705     d                 c                   5
1706     d  CURL_LOCK_DATA_PSL...
1707     d                 c                   6
1708     d  CURL_LOCK_DATA_LAST...
1709     d                 c                   7
1710      *
1711     d curl_lock_access...
1712     d                 s             10i 0 based(######ptr######)               Enum
1713     d  CURL_LOCK_ACCESS_NONE...
1714     d                 c                   0
1715     d  CURL_LOCK_ACCESS_SHARED...
1716     d                 c                   1
1717     d  CURL_LOCK_ACCESS_SINGLE...
1718     d                 c                   2
1719      *
1720     d curl_TimeCond   s             10i 0 based(######ptr######)               Enum
1721     d  CURL_TIMECOND_NONE...
1722     d                 c                   0
1723     d  CURL_TIMECOND_IFMODSINCE...
1724     d                 c                   1
1725     d  CURL_TIMECOND_LASTMOD...
1726     d                 c                   2
1727     d  CURL_TIMECOND_LAST...
1728     d                 c                   3
1729      *
1730     d CURLSHcode      s             10i 0 based(######ptr######)               Enum
1731     d  CURLSHE_OK     c                   0
1732     d  CURLSHE_BAD_OPTION...
1733     d                 c                   1
1734     d  CURLSHE_IN_USE...
1735     d                 c                   2
1736     d  CURLSHE_INVALID...
1737     d                 c                   3
1738     d  CURLSHE_NOMEM...
1739     d                 c                   4
1740     d  CURLSHE_NOT_BUILT_IN...
1741     d                 c                   5
1742      *
1743     d CURLSHoption...
1744     d                 s             10i 0 based(######ptr######)               Enum
1745     d  CURLSHOPT_SHARE...
1746     d                 c                   1
1747     d  CURLSHOPT_UNSHARE...
1748     d                 c                   2
1749     d  CURLSHOPT_LOCKFUNC...
1750     d                 c                   3
1751     d  CURLSHOPT_UNLOCKFUNC...
1752     d                 c                   4
1753     d  CURLSHOPT_USERDATA...
1754     d                 c                   5
1755      *
1756     d CURLversion     s             10i 0 based(######ptr######)               Enum
1757     d  CURLVERSION_FIRST...
1758     d                 c                   0
1759     d  CURLVERSION_SECOND...
1760     d                 c                   1
1761     d  CURLVERSION_THIRD...
1762     d                 c                   2
1763     d  CURLVERSION_FOURTH...
1764     d                 c                   3
1765     d  CURLVERSION_NOW...
1766     d                 c                   3                                    CURLVERSION_FOURTH
1767      *
1768     d curlsocktype    s             10i 0 based(######ptr######)               Enum
1769     d  CURLSOCKTYPE_IPCXN...
1770     d                 c                   0
1771     d  CURLSOCKTYPE_ACCEPT...
1772     d                 c                   1
1773      *
1774     d  CURL_SOCKOPT_OK...
1775     d                 c                   0
1776     d  CURL_SOCKOPT_ERROR...
1777     d                 c                   1
1778     d  CURL_SOCKOPT_ALREADY_CONNECTED...
1779     d                 c                   2
1780      *
1781     d CURLMcode       s             10i 0 based(######ptr######)               Enum
1782     d  CURLM_CALL_MULTI_PERFORM...
1783     d                 c                   -1
1784     d  CURLM_CALL_MULTI_SOCKET...
1785     d                 c                   -1
1786     d  CURLM_OK       c                   0
1787     d  CURLM_BAD_HANDLE...
1788     d                 c                   1
1789     d  CURLM_BAD_EASY_HANDLE...
1790     d                 c                   2
1791     d  CURLM_OUT_OF_MEMORY...
1792     d                 c                   3
1793     d  CURLM_INTERNAL_ERROR...
1794     d                 c                   4
1795     d  CURLM_BAD_SOCKET...
1796     d                 c                   5
1797     d  CURLM_UNKNOWN_OPTION...
1798     d                 c                   6
1799     d  CURLM_ADDED_ALREADY...
1800     d                 c                   7
1801     d  CURLM_LAST     c                   8
1802      *
1803     d CURLMSG         s             10i 0 based(######ptr######)               Enum
1804     d  CURLMSG_NONE   c                   0
1805     d  CURLMSG_DONE   c                   1
1806      *
1807     d CURLMoption     s             10i 0 based(######ptr######)               Enum
1808     d  CURLMOPT_SOCKETFUNCTION...
1809     d                 c                   20001
1810     d  CURLMOPT_SOCKETDATA...
1811     d                 c                   10002
1812     d  CURLMOPT_PIPELINING...
1813     d                 c                   00003
1814     d  CURLMOPT_TIMERFUNCTION...
1815     d                 c                   20004
1816     d  CURLMOPT_TIMERDATA...
1817     d                 c                   10005
1818     d  CURLMOPT_MAXCONNECTS...
1819     d                 c                   00006
1820     d  CURLMOPT_MAX_HOST_CONNECTIONS...
1821     d                 c                   00007
1822     d  CURLMOPT_MAX_PIPELINE_LENGTH...
1823     d                 c                   00008
1824     d  CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE...
1825     d                 c                   30009
1826     d  CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE...
1827     d                 c                   30010
1828     d  CURLMOPT_PIPELINING_SITE_BL...
1829     d                 c                   10011
1830     d  CURLMOPT_PIPELINING_SERVER_BL...
1831     d                 c                   10012
1832     d  CURLMOPT_MAX_TOTAL_CONNECTIONS...
1833     d                 c                   00013
1834     d  CURLMOPT_PUSHFUNCTION...
1835     d                 c                   20014
1836     d  CURLMOPT_PUSHDATA...
1837     d                 c                   10015
1838      *
1839      * Bitmask bits for CURLMOPT_PIPELING.
1840      *
1841     d CURLPIPE_NOTHING...
1842     d                 c                   x'00000000'
1843     d CURLPIPE_HTTP1  c                   x'00000001'
1844     d CURLPIPE_MULTIPLEX...
1845     d                 c                   x'00000002'
1846      *
1847      *  Public API enums for RTSP requests.
1848      *
1849     d CURLRTSPREQ_NONE...
1850     d                 c                   0
1851     d CURL_RTSPREQ_OPTIONS...
1852     d                 c                   1
1853     d CURL_RTSPREQ_DESCRIBE...
1854     d                 c                   2
1855     d CURL_RTSPREQ_ANNOUNCE...
1856     d                 c                   3
1857     d CURL_RTSPREQ_SETUP...
1858     d                 c                   4
1859     d CURL_RTSPREQ_PLAY...
1860     d                 c                   5
1861     d CURL_RTSPREQ_PAUSE...
1862     d                 c                   6
1863     d CURL_RTSPREQ_TEARDOWN...
1864     d                 c                   7
1865     d CURL_RTSPREQ_GET_PARAMETER...
1866     d                 c                   8
1867     d CURL_RTSPREQ_SET_PARAMETER...
1868     d                 c                   9
1869     d CURL_RTSPREQ_RECORD...
1870     d                 c                   10
1871     d CURL_RTSPREQ_RECEIVE...
1872     d                 c                   12
1873     d CURL_RTSPREQ_LAST...
1874     d                 c                   13
1875      *
1876     d CURLUcode       s             10i 0 based(######ptr######)               Enum
1877     d  CURLUE_OK      c                   0
1878     d  CURLUE_BAD_HANDLE...
1879     d                 c                   1
1880     d  CURLUE_BAD_PARTPOINTER...
1881     d                 c                   2
1882     d  CURLUE_MALFORMED_INPUT...
1883     d                 c                   3
1884     d  CURLUE_BAD_PORT_NUMBER...
1885     d                 c                   4
1886     d  CURLUE_UNSUPPORTED_SCHEME...
1887     d                 c                   5
1888     d  CURLUE_URLDECODE...
1889     d                 c                   6
1890     d  CURLUE_OUT_OF_MEMORY...
1891     d                 c                   7
1892     d  CURLUE_USER_NOT_ALLOWED...
1893     d                 c                   8
1894     d  CURLUE_UNKNOWN_PART...
1895     d                 c                   9
1896     d  CURLUE_NO_SCHEME...
1897     d                 c                   10
1898     d  CURLUE_NO_USER...
1899     d                 c                   11
1900     d  CURLUE_NO_PASSWORD...
1901     d                 c                   12
1902     d  CURLUE_NO_OPTIONS...
1903     d                 c                   13
1904     d  CURLUE_NO_HOST...
1905     d                 c                   14
1906     d  CURLUE_NO_PORT...
1907     d                 c                   15
1908     d  CURLUE_NO_QUERY...
1909     d                 c                   16
1910     d  CURLUE_NO_FRAGMENT...
1911     d                 c                   17
1912      *
1913     d CURLUPart       s             10i 0 based(######ptr######)               Enum
1914     d  CURLUPART_URL  c                   0
1915     d  CURLUPART_SCHEME...
1916     d                 c                   1
1917     d  CURLUPART_USER...
1918     d                 c                   2
1919     d  CURLUPART_PASSWORD...
1920     d                 c                   3
1921     d  CURLUPART_OPTIONS...
1922     d                 c                   4
1923     d  CURLUPART_HOST...
1924     d                 c                   5
1925     d  CURLUPART_PORT...
1926     d                 c                   6
1927     d  CURLUPART_PATH...
1928     d                 c                   7
1929     d  CURLUPART_QUERY...
1930     d                 c                   8
1931     d  CURLUPART_FRAGMENT...
1932     d                 c                   9
1933      *
1934      *  Renaming CURLMsg to CURL_Msg to avoid case-insensivity name clash.
1935      *
1936     d CURL_Msg        ds                  based(######ptr######)
1937     d                                     qualified
1938     d  msg                                like(CURLMSG)
1939     d  easy_handle                    *                                        CURL *
1940     d  data                           *
1941     d   whatever                      *   overlay(data)                        void *
1942     d   result                            overlay(data) like(CURLcode)
1943      *
1944     d curl_waitfd...
1945     d                 ds                  based(######ptr######)
1946     d                                     qualified
1947     d  fd                                 like(curl_socket_t)
1948     d  events                        5i 0
1949     d  revents                       5i 0
1950      *
1951     d curl_http_post...
1952     d                 ds                  based(######ptr######)
1953     d                                     qualified
1954     d  next                           *                                        curl_httppost *
1955     d  name                           *                                        char *
1956     d  namelength                   10i 0                                      long
1957     d  contents                       *                                        char *
1958     d  contentslength...
1959     d                               10i 0                                      long
1960     d  buffer                         *                                        char *
1961     d  bufferlength...
1962     d                               10i 0                                      long
1963     d  contenttype                    *                                        char *
1964     d  contentheader...
1965     d                                 *                                        curl_slist *
1966     d  more                           *                                        curl_httppost *
1967     d  flags                        10i 0                                      long
1968     d  showfilename                   *                                        char *
1969     d  userp                          *                                        void *
1970      *
1971     d curl_sockaddr   ds                  based(######ptr######)
1972     d                                     qualified
1973     d  family                       10i 0
1974     d  socktype                     10i 0
1975     d  protocol                     10i 0
1976     d  addrlen                      10u 0
1977     d  addr                         16                                         struct sockaddr
1978      *
1979     d curl_khtype     s             10i 0 based(######ptr######)               enum
1980     d CURLKHTYPE_UNKNOWN...
1981     d                 c                   0
1982     d CURLKHTYPE_RSA1...
1983     d                 c                   1
1984     d CURLKHTYPE_RSA...
1985     d                 c                   2
1986     d CURLKHTYPE_DSS...
1987     d                 c                   3
1988      *
1989     d curl_khkey      ds                  based(######ptr######)
1990     d                                     qualified
1991     d  key                            *                                        const char *
1992     d  len                          10u 0
1993     d  keytype                            like(curl_khtype)
1994      *
1995     d curl_forms      ds                  based(######ptr######)
1996     d                                     qualified
1997     d  option                             like(CURLformoption)
1998     d  value                          *                                        const char *
1999     d   value_ptr                     *   overlay(value)
2000     d   value_procptr...
2001     d                                 *   overlay(value) procptr
2002     d   value_num                         overlay(value: 8) like(curl_off_t)
2003      *
2004     d curl_slist      ds                  based(######ptr######)
2005     d                                     qualified
2006     d  data                           *                                        char *
2007     d  next                           *                                        struct curl_slist *
2008      *
2009     d curl_version_info_data...
2010     d                 ds                  based(######ptr######)
2011     d                                     qualified
2012     d  age                                like(CURLversion)
2013     d  version                        *                                        const char *
2014     d  version_num                  10u 0
2015     d  host                           *                                        const char *
2016     d  features                     10i 0
2017     d  ssl_version                    *                                        const char *
2018     d  ssl_version_num...
2019     d                               10i 0                                      long
2020     d  libz_version                   *                                        const char *
2021     d  protocols                      *                                        const char * const *
2022     d  ares                           *                                        const char *
2023     d  ares_num                     10i 0
2024     d  libidn                         *                                        const char *
2025     d  iconv_ver_num...
2026     d                               10i 0
2027     d  libssh_version...
2028     d                                 *                                        const char *
2029      *
2030     d curl_certinfo   ds                  based(######ptr######)
2031     d                                     qualified
2032     d  num_of_certs                 10i 0
2033     d  certinfo                       *                                        struct curl_slist **
2034      *
2035     d curl_fistrgs    ds                  based(######ptr######)
2036     d                                     qualified
2037     d  time                           *                                        char *
2038     d  perm                           *                                        char *
2039     d  user                           *                                        char *
2040     d  group                          *                                        char *
2041     d  target                         *                                        char *
2042      *
2043     d curl_tlssessioninfo...
2044     d                 ds                  based(######ptr######)
2045     d                                     qualified
2046     d  backend                            like(curl_sslbackend)
2047     d  internals                      *                                        void *
2048      *
2049     d curl_fileinfo   ds                  based(######ptr######)
2050     d                                     qualified
2051     d  filename                       *                                        char *
2052     d  filetype                           like(curlfiletype)
2053     d  time                         10i 0                                      time_t
2054     d  perm                         10u 0
2055     d  uid                          10i 0
2056     d  gid                          10i 0
2057     d  size                               like(curl_off_t)
2058     d  hardlinks                    10i 0
2059     d  strings                            likeds(curl_fistrgs)
2060     d  flags                        10u 0
2061     d  b_data                         *                                        char *
2062     d  b_size                       10u 0                                      size_t
2063     d  b_used                       10u 0                                      size_t
2064      *
2065     d curl_formget_callback...
2066     d                 s               *   based(######ptr######) procptr
2067      *
2068     d curl_malloc_callback...
2069     d                 s               *   based(######ptr######) procptr
2070      *
2071     d curl_free_callback...
2072     d                 s               *   based(######ptr######) procptr
2073      *
2074     d curl_realloc_callback...
2075     d                 s               *   based(######ptr######) procptr
2076      *
2077     d curl_strdup_callback...
2078     d                 s               *   based(######ptr######) procptr
2079      *
2080     d curl_calloc_callback...
2081     d                 s               *   based(######ptr######) procptr
2082      *
2083     d curl_lock_function...
2084     d                 s               *   based(######ptr######) procptr
2085      *
2086     d curl_unlock_function...
2087     d                 s               *   based(######ptr######) procptr
2088      *
2089     d curl_progress_callback...
2090     d                 s               *   based(######ptr######) procptr
2091      *
2092     d curl_xferinfo_callback...
2093     d                 s               *   based(######ptr######) procptr
2094      *
2095     d curl_read_callback...
2096     d                 s               *   based(######ptr######) procptr
2097      *
2098     d curl_trailer_callback...
2099     d                 s               *   based(######ptr######) procptr
2100      *
2101     d curl_write_callback...
2102     d                 s               *   based(######ptr######) procptr
2103      *
2104     d curl_seek_callback...
2105     d                 s               *   based(######ptr######) procptr
2106      *
2107     d curl_sockopt_callback...
2108     d                 s               *   based(######ptr######) procptr
2109      *
2110     d curl_ioctl_callback...
2111     d                 s               *   based(######ptr######) procptr
2112      *
2113     d curl_debug_callback...
2114     d                 s               *   based(######ptr######) procptr
2115      *
2116     d curl_conv_callback...
2117     d                 s               *   based(######ptr######) procptr
2118      *
2119     d curl_ssl_ctx_callback...
2120     d                 s               *   based(######ptr######) procptr
2121      *
2122     d curl_socket_callback...
2123     d                 s               *   based(######ptr######) procptr
2124      *
2125     d curl_multi_timer_callback...
2126     d                 s               *   based(######ptr######) procptr
2127      *
2128     d curl_push_callback...
2129     d                 s               *   based(######ptr######) procptr
2130      *
2131     d curl_opensocket_callback...
2132     d                 s               *   based(######ptr######) procptr
2133      *
2134     d curl_sshkeycallback...
2135     d                 s               *   based(######ptr######) procptr
2136      *
2137     d curl_chunk_bgn_callback...
2138     d                 s               *   based(######ptr######) procptr
2139      *
2140     d curl_chunk_end_callback...
2141     d                 s               *   based(######ptr######) procptr
2142      *
2143     d curl_fnmatch_callback...
2144     d                 s               *   based(######ptr######) procptr
2145      *
2146     d curl_closesocket_callback...
2147     d                 s               *   based(######ptr######) procptr
2148      *
2149     d curl_resolver_start_callback...
2150     d                 s               *   based(######ptr######) procptr
2151      *
2152      **************************************************************************
2153      *                              Prototypes
2154      **************************************************************************
2155      *
2156     d curl_mime_init  pr              *   extproc('curl_mime_init')            curl_mime *
2157     d  easy                           *   value                                CURL *
2158      *
2159     d curl_mime_free  pr                  extproc('curl_mime_free')
2160     d  mime                           *   value                                curl_mime *
2161      *
2162     d curl_mime_addpart...
2163     d                 pr              *   extproc('curl_mime_addpart')         curl_mimepart *
2164     d  mime                           *   value                                curl_mime *
2165      *
2166     d curl_mime_name  pr                  extproc('curl_mime_name')
2167     d                                     like(CURLcode)
2168     d  part                           *   value                                curl_mimepart *
2169     d  name                           *   value options(*string)
2170      *
2171     d curl_mime_filename...
2172     d                 pr                  extproc('curl_mime_filename')
2173     d                                     like(CURLcode)
2174     d  part                           *   value                                curl_mimepart *
2175     d  filename                       *   value options(*string)
2176      *
2177     d curl_mime_type  pr                  extproc('curl_mime_type')
2178     d                                     like(CURLcode)
2179     d  part                           *   value                                curl_mimepart *
2180     d  mimetype                       *   value options(*string)
2181      *
2182     d curl_mime_encoder...
2183     d                 pr                  extproc('curl_mime_encoder')
2184     d                                     like(CURLcode)
2185     d  part                           *   value                                curl_mimepart *
2186     d  encoding                       *   value options(*string)
2187      *
2188     d curl_mime_data  pr                  extproc('curl_mime_data')
2189     d                                     like(CURLcode)
2190     d  part                           *   value                                curl_mimepart *
2191     d  data                           *   value options(*string)
2192     d  datasize                     10u 0                                      size_t
2193      *
2194     d curl_mime_filedata...
2195     d                 pr                  extproc('curl_mime_filedata')
2196     d                                     like(CURLcode)
2197     d  part                           *   value                                curl_mimepart *
2198     d  filename                       *   value options(*string)
2199      *
2200     d curl_mime_data_cb...
2201     d                 pr                  extproc('curl_mime_data_cb')
2202     d                                     like(CURLcode)
2203     d  part                           *   value                                curl_mimepart *
2204     d  datasize                           value like(curl_off_t)
2205     d  readfunc                           value like(curl_read_callback)
2206     d  seekfunc                           value like(curl_seek_callback)
2207     d  freefunc                           value like(curl_free_callback)
2208     d  arg                            *   value                                void *
2209      *
2210     d curl_mime_subparts...
2211     d                 pr                  extproc('curl_mime_subparts')
2212     d                                     like(CURLcode)
2213     d  part                           *   value                                curl_mimepart *
2214     d  subparts                       *   value                                curl_mime *
2215      *
2216     d curl_mime_headers...
2217     d                 pr                  extproc('curl_mime_headers')
2218     d                                     like(CURLcode)
2219     d  part                           *   value                                curl_mimepart *
2220     d  headers                        *   value                                curl_slist *
2221     d  take_ownership...
2222     d                               10i 0 value
2223      *
2224      *  This procedure as a variable parameter list.
2225      *  This prototype allows use of an option array, or a single "object"
2226      *    option. Other argument lists may be implemented by alias procedure
2227      *    prototype definitions.
2228      *
2229     d curl_formadd    pr                  extproc('curl_formadd')
2230     d                                     like(CURLFORMcode)
2231     d  httppost                       *                                        curl_httppost *
2232     d  lastpost                       *                                        curl_httppost *
2233     d  option1                            value like(CURLFORMoption)           CURLFORM_ARRAY
2234     d                                     options(*nopass)
2235     d  object1                        *   value options(*string: *nopass)
2236     d  option2                            value like(CURLFORMoption)           CURLFORM_END
2237     d                                     options(*nopass)
2238      *
2239      *
2240     d curl_strequal   pr            10i 0 extproc('curl_strequal')
2241     d  s1                             *   value options(*string)
2242     d  s2                             *   value options(*string)
2243      *
2244     d curl_strnequal  pr            10i 0 extproc('curl_strnequal')
2245     d  s1                             *   value options(*string)
2246     d  s2                             *   value options(*string)
2247     d  n                            10u 0 value
2248      *
2249     d curl_formget    pr            10i 0 extproc('curl_formget')
2250     d  form                           *   value                                curl_httppost *
2251     d  arg                            *   value
2252     d  append                             value like(curl_formget_callback)
2253      *
2254     d curl_formfree   pr                  extproc('curl_formfree')
2255     d  form                           *   value                                curl_httppost *
2256      *
2257     d curl_getenv     pr              *   extproc('curl_getenv')
2258     d  variable                       *   value options(*string)
2259      *
2260     d curl_version    pr              *   extproc('curl_version')
2261      *
2262     d curl_easy_escape...
2263     d                 pr              *   extproc('curl_easy_escape')          char *
2264     d  handle                         *   value                                CURL *
2265     d  string                         *   value options(*string)
2266     d  length                       10i 0 value
2267      *
2268     d curl_escape     pr              *   extproc('curl_escape')               char *
2269     d  string                         *   value options(*string)
2270     d  length                       10i 0 value
2271      *
2272     d curl_easy_unescape...
2273     d                 pr              *   extproc('curl_easy_unescape')        char *
2274     d  handle                         *   value                                CURL *
2275     d  string                         *   value options(*string)
2276     d  length                       10i 0 value
2277     d  outlength                    10i 0 options(*omit)
2278      *
2279     d curl_unescape   pr              *   extproc('curl_unescape')             char *
2280     d  string                         *   value options(*string)
2281     d  length                       10i 0 value
2282      *
2283     d curl_free       pr                  extproc('curl_free')
2284     d  p                              *   value
2285      *
2286     d curl_global_init...
2287     d                 pr                  extproc('curl_global_init')
2288     d                                     like(CURLcode)
2289     d  flags                        10i 0 value
2290      *
2291     d curl_global_init_mem...
2292     d                 pr                  extproc('curl_global_init_mem')
2293     d                                     like(CURLcode)
2294     d  m                                  value like(curl_malloc_callback)
2295     d  f                                  value like(curl_free_callback)
2296     d  r                                  value like(curl_realloc_callback)
2297     d  s                                  value like(curl_strdup_callback)
2298     d  c                                  value like(curl_calloc_callback)
2299      *
2300     d curl_global_cleanup...
2301     d                 pr                  extproc('curl_global_cleanup')
2302      *
2303     d curl_slist_append...
2304     d                 pr              *   extproc('curl_slist_append')         struct curl_slist *
2305     d  list                           *   value                                struct curl_slist *
2306     d  data                           *   value options(*string)               const char *
2307      *
2308     d curl_slist_free_all...
2309     d                 pr                  extproc('curl_slist_free_all')
2310     d  list                           *   value                                struct curl_slist *
2311      *
2312     d curl_getdate    pr            10i 0 extproc('curl_getdate')              time_t
2313     d  p                              *   value options(*string)               const char *
2314     d  unused                       10i 0 const options(*omit)                 time_t
2315      *
2316     d curl_share_init...
2317     d                 pr              *   extproc('curl_share_init')           CURLSH * (= void *)
2318      *
2319      *  Variable argument type procedure.
2320      *  Multiply prototyped to support all possible types.
2321      *
2322     d curl_share_setopt_int...
2323     d                 pr                  extproc('curl_share_setopt')
2324     d                                     like(CURLSHcode)
2325     d  share                          *   value                                CURLSH * (= void *)
2326     d  option                             value like(CURLSHoption)
2327     d  intarg                       10i 0 value options(*nopass)
2328      *
2329     d curl_share_setopt_ptr...
2330     d                 pr                  extproc('curl_share_setopt')
2331     d                                     like(CURLSHcode)
2332     d  share                          *   value                                CURLSH * (= void *)
2333     d  option                             value like(CURLSHoption)
2334     d  ptrarg                         *   value options(*nopass)
2335      *
2336     d curl_share_setopt_proc...
2337     d                 pr                  extproc('curl_share_setopt')
2338     d                                     like(CURLSHcode)
2339     d  share                          *   value                                CURLSH * (= void *)
2340     d  option                             value like(CURLSHoption)
2341     d  procarg                        *   value procptr options(*nopass)
2342      *
2343     d curl_share_cleanup...
2344     d                 pr                  extproc('curl_share_cleanup')
2345     d                                     like(CURLSHcode)
2346     d  share                          *   value                                CURLSH * (= void *)
2347      *
2348     d curl_version_info...
2349     d                 pr              *   extproc('curl_version_info')         c_i_version_data *
2350     d  version                            value like(CURLversion)
2351      *
2352     d curl_easy_strerror...
2353     d                 pr              *   extproc('curl_easy_strerror')        const char *
2354     d  code                               value like(CURLcode)
2355      *
2356     d curl_share_strerror...
2357     d                 pr              *   extproc('curl_share_strerror')       const char *
2358     d  code                               value like(CURLSHcode)
2359      *
2360     d curl_easy_init  pr              *   extproc('curl_easy_init')            CURL *
2361      *
2362      *  Multiple prototypes for vararg procedure curl_easy_setopt.
2363      *
2364     d curl_easy_setopt_long...
2365     d                 pr                  extproc('curl_easy_setopt')
2366     d                                     like(CURLcode)
2367     d  curl                           *   value                                CURL *
2368     d  option                             value like(CURLoption)
2369     d  longarg                      10i 0 value options(*nopass)
2370      *
2371     d curl_easy_setopt_object...
2372     d                 pr                  extproc('curl_easy_setopt')
2373     d                                     like(CURLcode)
2374     d  curl                           *   value                                CURL *
2375     d  option                             value like(CURLoption)
2376     d  objectarg                      *   value options(*string: *nopass)
2377      *
2378     d curl_easy_setopt_function...
2379     d                 pr                  extproc('curl_easy_setopt')
2380     d                                     like(CURLcode)
2381     d  curl                           *   value                                CURL *
2382     d  option                             value like(CURLoption)
2383     d  functionarg                    *   value procptr options(*nopass)
2384      *
2385     d curl_easy_setopt_offset...
2386     d                 pr                  extproc('curl_easy_setopt')
2387     d                                     like(CURLcode)
2388     d  curl                           *   value                                CURL *
2389     d  option                             value like(CURLoption)
2390     d  offsetarg                          value like(curl_off_t)
2391     d                                     options(*nopass)
2392      *
2393      *
2394     d curl_easy_perform...
2395     d                 pr                  extproc('curl_easy_perform')
2396     d                                     like(CURLcode)
2397     d  curl                           *   value                                CURL *
2398      *
2399     d curl_easy_cleanup...
2400     d                 pr                  extproc('curl_easy_cleanup')
2401     d  curl                           *   value                                CURL *
2402      *
2403      *  Multiple prototypes for vararg procedure curl_easy_getinfo.
2404      *
2405     d curl_easy_getinfo_string...
2406     d                 pr                  extproc('curl_easy_getinfo')
2407     d                                     like(CURLcode)
2408     d  curl                           *   value                                CURL *
2409     d  info                               value like(CURLINFO)
2410     d  stringarg                      *   options(*nopass)                     char *
2411      *
2412     d curl_easy_getinfo_long...
2413     d                 pr                  extproc('curl_easy_getinfo')
2414     d                                     like(CURLcode)
2415     d  curl                           *   value                                CURL *
2416     d  info                               value like(CURLINFO)
2417     d  longarg                      10i 0 options(*nopass)
2418      *
2419     d curl_easy_getinfo_double...
2420     d                 pr                  extproc('curl_easy_getinfo')
2421     d                                     like(CURLcode)
2422     d  curl                           *   value                                CURL *
2423     d  info                               value like(CURLINFO)
2424     d  doublearg                     8f   options(*nopass)
2425      *
2426     d curl_easy_getinfo_slist...
2427     d                 pr                  extproc('curl_easy_getinfo')
2428     d                                     like(CURLcode)
2429     d  curl                           *   value                                CURL *
2430     d  info                               value like(CURLINFO)
2431     d  slistarg                       *   options(*nopass)                     struct curl_slist *
2432      *
2433     d curl_easy_getinfo_ptr...
2434     d                 pr                  extproc('curl_easy_getinfo')
2435     d                                     like(CURLcode)
2436     d  curl                           *   value                                CURL *
2437     d  info                               value like(CURLINFO)
2438     d  ptrarg                         *   options(*nopass)                     void *
2439      *
2440     d curl_easy_getinfo_socket...
2441     d                 pr                  extproc('curl_easy_getinfo')
2442     d                                     like(CURLcode)
2443     d  curl                           *   value                                CURL *
2444     d  info                               value like(CURLINFO)
2445     d  socketarg                          like(curl_socket_t) options(*nopass)
2446      *
2447     d curl_easy_getinfo_off_t...
2448     d                 pr                  extproc('curl_easy_getinfo')
2449     d                                     like(CURLcode)
2450     d  curl                           *   value                                CURL *
2451     d  info                               value like(CURLINFO)
2452     d  offsetarg                          like(curl_off_t) options(*nopass)
2453      *
2454      *
2455     d curl_easy_duphandle...
2456     d                 pr              *   extproc('curl_easy_duphandle')       CURL *
2457     d  curl                           *   value                                CURL *
2458      *
2459     d curl_easy_reset...
2460     d                 pr                  extproc('curl_easy_reset')
2461     d  curl                           *   value                                CURL *
2462      *
2463     d curl_easy_recv...
2464     d                 pr                  extproc('curl_easy_recv')
2465     d                                     like(CURLcode)
2466     d  curl                           *   value                                CURL *
2467     d  buffer                         *   value                                void *
2468     d  buflen                       10u 0 value                                size_t
2469     d  n                            10u 0                                      size_t *
2470      *
2471     d curl_easy_send...
2472     d                 pr                  extproc('curl_easy_send')
2473     d                                     like(CURLcode)
2474     d  curl                           *   value                                CURL *
2475     d  buffer                         *   value                                const void *
2476     d  buflen                       10u 0 value                                size_t
2477     d  n                            10u 0                                      size_t *
2478      *
2479     d curl_easy_pause...
2480     d                 pr                  extproc('curl_easy_pause')
2481     d                                     like(CURLcode)
2482     d  curl                           *   value                                CURL *
2483     d  bitmask                      10i 0 value
2484      *
2485     d curl_easy_upkeep...
2486     d                 pr                  extproc('curl_easy_upkeep')
2487     d                                     like(CURLcode)
2488     d  curl                           *   value                                CURL *
2489      *
2490     d curl_multi_init...
2491     d                 pr              *   extproc('curl_multi_init')           CURLM *
2492      *
2493     d curl_multi_add_handle...
2494     d                 pr                  extproc('curl_multi_add_handle')
2495     d                                     like(CURLMcode)
2496     d  multi_handle                   *   value                                CURLM *
2497     d  curl_handle                    *   value                                CURL *
2498      *
2499     d curl_multi_remove_handle...
2500     d                 pr                  extproc('curl_multi_remove_handle')
2501     d                                     like(CURLMcode)
2502     d  multi_handle                   *   value                                CURLM *
2503     d  curl_handle                    *   value                                CURL *
2504      *
2505     d curl_multi_fdset...
2506     d                 pr                  extproc('curl_multi_fdset')
2507     d                                     like(CURLMcode)
2508     d  multi_handle                   *   value                                CURLM *
2509     d  read_fd_set               65535    options(*varsize)                    fd_set
2510     d  write_fd_set              65535    options(*varsize)                    fd_set
2511     d  exc_fd_set                65535    options(*varsize)                    fd_set
2512     d  max_fd                       10i 0
2513      *
2514     d curl_multi_wait...
2515     d                 pr                  extproc('curl_multi_wait')
2516     d                                     like(CURLMcode)
2517     d  multi_handle                   *   value                                CURLM *
2518     d  extra_fds                      *   value                                curl_waitfd *
2519     d  extra_nfds                   10u 0 value
2520     d  timeout_ms                   10i 0 value
2521     d  ret                          10i 0 options(*omit)
2522      *
2523     d curl_multi_perform...
2524     d                 pr                  extproc('curl_multi_perform')
2525     d                                     like(CURLMcode)
2526     d  multi_handle                   *   value                                CURLM *
2527     d  running_handles...
2528     d                               10i 0
2529      *
2530     d curl_multi_cleanup...
2531     d                 pr                  extproc('curl_multi_cleanup')
2532     d                                     like(CURLMcode)
2533     d  multi_handle                   *   value                                CURLM *
2534      *
2535     d curl_multi_info_read...
2536     d                 pr              *   extproc('curl_multi_info_read')      CURL_Msg *
2537     d  multi_handle                   *   value                                CURLM *
2538     d  msgs_in_queue                10i 0
2539      *
2540     d curl_multi_strerror...
2541     d                 pr              *   extproc('curl_multi_strerror')       char *
2542     d  code                               value like(CURLMcode)
2543      *
2544     d curl_pushheader_bynum...
2545     d                 pr              *   extproc('curl_pushheader_bynum')     char *
2546     d  h                              *   value                                curl_pushheaders *
2547     d  num                          10u 0 value
2548      *
2549     d curl_pushheader_byname...
2550     d                 pr              *   extproc('curl_pushheader_byname')    char *
2551     d  h                              *   value                                curl_pushheaders *
2552     d  header                         *   value options(*string)               const char *
2553      *
2554     d curl_multi_socket...
2555     d                 pr                  extproc('curl_multi_socket')
2556     d                                     like(CURLMcode)
2557     d  multi_handle                   *   value                                CURLM *
2558     d  s                                  value like(curl_socket_t)
2559     d  running_handles...
2560     d                               10i 0
2561      *
2562     d curl_multi_socket_action...
2563     d                 pr                  extproc('curl_multi_socket_action')
2564     d                                     like(CURLMcode)
2565     d  multi_handle                   *   value                                CURLM *
2566     d  s                                  value like(curl_socket_t)
2567     d  ev_bitmask                   10i 0 value
2568     d  running_handles...
2569     d                               10i 0
2570      *
2571     d curl_multi_socket_all...
2572     d                 pr                  extproc('curl_multi_socket_all')
2573     d                                     like(CURLMcode)
2574     d  multi_handle                   *   value                                CURLM *
2575     d  running_handles...
2576     d                               10i 0
2577      *
2578     d curl_multi_timeout...
2579     d                 pr                  extproc('curl_multi_timeout')
2580     d                                     like(CURLMcode)
2581     d  multi_handle                   *   value                                CURLM *
2582     d  milliseconds                 10i 0
2583      *
2584      *  Multiple prototypes for vararg procedure curl_multi_setopt.
2585      *
2586     d curl_multi_setopt_long...
2587     d                 pr                  extproc('curl_multi_setopt')
2588     d                                     like(CURLMcode)
2589     d  multi_handle                   *   value                                CURLM *
2590     d  option                             value like(CURLMoption)
2591     d  longarg                      10i 0 value options(*nopass)
2592      *
2593     d curl_multi_setopt_object...
2594     d                 pr                  extproc('curl_multi_setopt')
2595     d                                     like(CURLMcode)
2596     d  multi_handle                   *   value                                CURLM *
2597     d  option                             value like(CURLMoption)
2598     d  objectarg                      *   value options(*string: *nopass)
2599      *
2600     d curl_multi_setopt_function...
2601     d                 pr                  extproc('curl_multi_setopt')
2602     d                                     like(CURLMcode)
2603     d  multi_handle                   *   value                                CURLM *
2604     d  option                             value like(CURLMoption)
2605     d  functionarg                    *   value procptr options(*nopass)
2606      *
2607     d curl_multi_setopt_offset...
2608     d                 pr                  extproc('curl_multi_setopt')
2609     d                                     like(CURLMcode)
2610     d  multi_handle                   *   value                                CURLM *
2611     d  option                             value like(CURLMoption)
2612     d  offsetarg                          value like(curl_off_t)
2613     d                                     options(*nopass)
2614      *
2615      *
2616     d curl_multi_assign...
2617     d                 pr                  extproc('curl_multi_assign')
2618     d                                     like(CURLMcode)
2619     d  multi_handle                   *   value                                CURLM *
2620     d  sockfd                             value like(curl_socket_t)
2621     d  sockp                          *   value                                void *
2622      *
2623     d curl_url        pr              *   extproc('curl_url')                  CURLU *
2624      *
2625     d curl_url_cleanup...
2626     d                 pr                  extproc('curl_url_cleanup')
2627     d  handle                         *   value                                CURLU *
2628      *
2629     d curl_url_dup    pr              *   extproc('curl_url_dup')              CURLU *
2630     d  in                             *   value                                CURLU *
2631      *
2632     d curl_url_get    pr                  extproc('curl_url_get')
2633     d                                     like(CURLUcode)
2634     d  handle                         *   value                                CURLU *
2635     d  what                               value like(CURLUPart)
2636     d  part                           *                                        char **
2637     d  flags                        10u 0 value
2638      *
2639     d curl_url_set    pr                  extproc('curl_url_set')
2640     d                                     like(CURLUcode)
2641     d  handle                         *   value                                CURLU *
2642     d  what                               value like(CURLUPart)
2643     d  part                           *   value options(*string)
2644     d  flags                        10u 0 value
2645      *
2646      **************************************************************************
2647      *                CCSID wrapper procedure prototypes
2648      **************************************************************************
2649      *
2650     d curl_version_ccsid...
2651     d                 pr              *   extproc('curl_version_ccsid')
2652     d  ccsid                        10u 0 value
2653      *
2654     d curl_easy_escape_ccsid...
2655     d                 pr              *   extproc('curl_easy_escape_ccsid')    char *
2656     d  handle                         *   value                                CURL *
2657     d  string                         *   value options(*string)
2658     d  length                       10i 0 value
2659     d  ccsid                        10u 0 value
2660      *
2661     d curl_easy_unescape_ccsid...
2662     d                 pr              *   extproc('curl_easy_unescape_ccsid')  char *
2663     d  handle                         *   value                                CURL *
2664     d  string                         *   value options(*string)
2665     d  length                       10i 0 value
2666     d  outlength                    10i 0 options(*omit)
2667     d  ccsid                        10u 0 value
2668      *
2669     d curl_slist_append_ccsid...
2670     d                 pr              *   extproc('curl_slist_append_ccsid')   struct curl_slist *
2671     d  list                           *   value                                struct curl_slist *
2672     d  data                           *   value options(*string)               const char *
2673     d  ccsid                        10u 0 value
2674      *
2675     d curl_getdate_ccsid...
2676     d                 pr            10i 0 extproc('curl_getdate_ccsid')        time_t
2677     d  p                              *   value options(*string)               const char *
2678     d  unused                       10i 0 const options(*omit)                 time_t
2679     d  ccsid                        10u 0 value
2680      *
2681     d curl_version_info_ccsid...
2682     d                 pr              *   extproc('curl_version_info_ccsid')   c_i_version_data *
2683     d  version                            value like(CURLversion)
2684     d  ccsid                        10u 0 value
2685      *
2686     d curl_easy_strerror_ccsid...
2687     d                 pr              *   extproc('curl_easy_strerror_ccsid')  const char *
2688     d  code                               value like(CURLcode)
2689     d  ccsid                        10u 0 value
2690      *
2691     d curl_share_strerror_ccsid...
2692     d                 pr              *   extproc('curl_share_strerror_ccsid') const char *
2693     d  code                               value like(CURLSHcode)
2694     d  ccsid                        10u 0 value
2695      *
2696     d curl_multi_strerror_ccsid...
2697     d                 pr              *   extproc('curl_multi_strerror_ccsid') char *
2698     d  code                               value like(CURLMcode)
2699     d  ccsid                        10u 0 value
2700      *
2701      * May be used for strings and structures.
2702     d curl_easy_getinfo_ccsid...
2703     d                 pr                  extproc('curl_easy_getinfo_ccsid')
2704     d                                     like(CURLcode)
2705     d  curl                           *   value                                CURL *
2706     d  info                               value like(CURLINFO)
2707     d  ptrarg                         *   options(*nopass)                     char *
2708     d  ccsid                        10u 0 value options(*nopass)
2709      *
2710     d curl_certinfo_free_all...
2711     d                 pr                  extproc('curl_certinfo_free_all')
2712     d  info                           *   value
2713      *
2714     d curl_formadd_ccsid...
2715     d                 pr                  extproc('curl_formadd_ccsid')
2716     d                                     like(CURLFORMcode)
2717     d  httppost                       *                                        curl_httppost *
2718     d  lastpost                       *                                        curl_httppost *
2719     d  option1                            value like(CURLFORMoption)           CURLFORM_ARRAY
2720     d                                     options(*nopass)
2721     d  object1                        *   value options(*string: *nopass)
2722     d  option2                            value like(CURLFORMoption)           CURLFORM_END
2723     d                                     options(*nopass)
2724      *
2725     d curl_formget_ccsid...
2726     d                 pr            10i 0 extproc('curl_formget_ccsid')
2727     d  form                           *   value                                curl_httppost *
2728     d  arg                            *   value
2729     d  append                             value like(curl_formget_callback)
2730     d  ccsid                        10u 0 value
2731      *
2732     d curl_form_long_value...
2733     d                 pr              *   extproc('curl_form_long_value')
2734     d  value                        10i 0 value                                curl_httppost *
2735      *
2736     d curl_easy_setopt_ccsid...
2737     d                 pr                  extproc('curl_easy_setopt_ccsid')
2738     d                                     like(CURLcode)
2739     d  curl                           *   value                                CURL *
2740     d  option                             value like(CURLoption)
2741     d  objectarg                      *   value options(*string: *nopass)
2742     d  ccsid                        10u 0 value options(*nopass)
2743      *
2744     d curl_pushheader_bynum_ccsid...
2745     d                 pr              *   extproc(                             char *
2746     d                                       'curl_pushheader_bynum_ccsid')
2747     d  h                              *   value                                curl_pushheaders *
2748     d  num                          10u 0 value
2749     d  ccsid                        10u 0 value
2750      *
2751     d curl_pushheader_byname_ccsid...
2752     d                 pr              *   extproc(                             char *
2753     d                                       'curl_pushheader_byname_ccsid')
2754     d  h                              *   value                                curl_pushheaders *
2755     d  header                         *   value options(*string)               const char *
2756     d  ccsidin                      10u 0 value
2757     d  ccsidout                     10u 0 value
2758      *
2759     d curl_mime_name_ccsid...
2760     d                 pr                  extproc('curl_mime_name_ccsid')
2761     d                                     like(CURLcode)
2762     d  part                           *   value                                curl_mimepart *
2763     d  name                           *   value options(*string)
2764     d  ccsid                        10u 0 value
2765      *
2766     d curl_mime_filename_ccsid...
2767     d                 pr                  extproc('curl_mime_filename_ccsid')
2768     d                                     like(CURLcode)
2769     d  part                           *   value                                curl_mimepart *
2770     d  filename                       *   value options(*string)
2771     d  ccsid                        10u 0 value
2772      *
2773     d curl_mime_type_ccsid...
2774     d                 pr                  extproc('curl_mime_type_ccsid')
2775     d                                     like(CURLcode)
2776     d  part                           *   value                                curl_mimepart *
2777     d  mimetype                       *   value options(*string)
2778     d  ccsid                        10u 0 value
2779      *
2780     d curl_mime_encoder_ccsid...
2781     d                 pr                  extproc('curl_mime_encoder_ccsid')
2782     d                                     like(CURLcode)
2783     d  part                           *   value                                curl_mimepart *
2784     d  encoding                       *   value options(*string)
2785     d  ccsid                        10u 0 value
2786      *
2787     d curl_mime_data_ccsid...
2788     d                 pr                  extproc('curl_mime_data_ccsid')
2789     d                                     like(CURLcode)
2790     d  part                           *   value                                curl_mimepart *
2791     d  data                           *   value options(*string)
2792     d  datasize                     10u 0                                      size_t
2793     d  ccsid                        10u 0 value
2794      *
2795     d curl_mime_filedata_ccsid...
2796     d                 pr                  extproc('curl_mime_filedata_ccsid')
2797     d                                     like(CURLcode)
2798     d  part                           *   value                                curl_mimepart *
2799     d  filename                       *   value options(*string)
2800     d  ccsid                        10u 0 value
2801      *
2802     d curl_url_get_ccsid...
2803     d                 pr                  extproc('curl_url_get_ccsid')
2804     d                                     like(CURLUcode)
2805     d  handle                         *   value                                CURLU *
2806     d  what                               value like(CURLUPart)
2807     d  part                           *                                        char **
2808     d  flags                        10u 0 value
2809     d  ccsid                        10u 0 value
2810      *
2811     d curl_url_set_ccsid...
2812     d                 pr                  extproc('curl_url_set_ccsid')
2813     d                                     like(CURLUcode)
2814     d  handle                         *   value                                CURLU *
2815     d  what                               value like(CURLUPart)
2816     d  part                           *   value options(*string)
2817     d  flags                        10u 0 value
2818     d  ccsid                        10u 0 value
2819      *
2820      /endif
2821