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