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