mt-lang 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/index.html +4 -3
- data/lib/milk_tea/base.rb +1 -1
- data/std/asset_pack.mt +267 -0
- data/std/async/libuv_runtime.mt +539 -0
- data/std/async/mailbox.mt +191 -0
- data/std/async/runtime.mt +87 -0
- data/std/async.mt +87 -0
- data/std/base64.mt +185 -0
- data/std/behavior_tree.mt +396 -0
- data/std/binary.mt +314 -0
- data/std/binary_heap.mt +157 -0
- data/std/bitset.mt +239 -0
- data/std/box2d.mt +535 -0
- data/std/bytes.mt +46 -0
- data/std/c/box2d.mt +1254 -0
- data/std/c/cgltf.mt +647 -0
- data/std/c/cjson.mt +106 -0
- data/std/c/crypto.mt +11 -0
- data/std/c/crypto_support.h +51 -0
- data/std/c/ctype.mt +19 -0
- data/std/c/ctype_bindgen.h +29 -0
- data/std/c/curl.mt +1223 -0
- data/std/c/enet.mt +473 -0
- data/std/c/errno.mt +41 -0
- data/std/c/errno_bindgen.h +53 -0
- data/std/c/flecs.mt +2945 -0
- data/std/c/fs.linux.mt +43 -0
- data/std/c/fs.windows.mt +43 -0
- data/std/c/fs_support.h +954 -0
- data/std/c/gl.mt +2065 -0
- data/std/c/gl_registry_helpers.h +10748 -0
- data/std/c/glfw.mt +499 -0
- data/std/c/libc.mt +167 -0
- data/std/c/libuv.mt +1491 -0
- data/std/c/math.mt +22 -0
- data/std/c/math_bindgen.h +31 -0
- data/std/c/miniaudio.mt +3420 -0
- data/std/c/pcre2.mt +735 -0
- data/std/c/process.mt +58 -0
- data/std/c/process_support.h +1147 -0
- data/std/c/raygui.mt +1602 -0
- data/std/c/raylib.mt +1245 -0
- data/std/c/raymath.mt +163 -0
- data/std/c/rlgl.mt +434 -0
- data/std/c/rpng.mt +60 -0
- data/std/c/rres.mt +187 -0
- data/std/c/sdl3.mt +4132 -0
- data/std/c/sqlite3.mt +951 -0
- data/std/c/stb_image.mt +52 -0
- data/std/c/stb_image_resize2.mt +128 -0
- data/std/c/stb_image_write.mt +19 -0
- data/std/c/stb_rect_pack.mt +38 -0
- data/std/c/stb_truetype.mt +175 -0
- data/std/c/stb_vorbis.mt +31 -0
- data/std/c/stdio.mt +90 -0
- data/std/c/steamworks.h +5769 -0
- data/std/c/steamworks.mt +4771 -0
- data/std/c/string.mt +16 -0
- data/std/c/string_bindgen.h +36 -0
- data/std/c/sync.mt +33 -0
- data/std/c/sync_support.h +219 -0
- data/std/c/terminal.mt +24 -0
- data/std/c/terminal_support.h +408 -0
- data/std/c/time.mt +26 -0
- data/std/c/tls.mt +24 -0
- data/std/c/tls_support.h +626 -0
- data/std/c/tracy.mt +53 -0
- data/std/c/zlib.mt +20 -0
- data/std/c/zlib_support.h +239 -0
- data/std/c/zstd.mt +231 -0
- data/std/cell.mt +60 -0
- data/std/cgltf.mt +115 -0
- data/std/cjson.mt +90 -0
- data/std/cli.mt +768 -0
- data/std/cookie.mt +198 -0
- data/std/counter.mt +160 -0
- data/std/crypto.mt +74 -0
- data/std/cstring.mt +13 -0
- data/std/ctype.mt +52 -0
- data/std/curl/runtime.mt +261 -0
- data/std/curl.mt +38 -0
- data/std/deque.mt +348 -0
- data/std/encoding.mt +93 -0
- data/std/enet.mt +133 -0
- data/std/env.mt +41 -0
- data/std/errno.mt +47 -0
- data/std/flecs.mt +978 -0
- data/std/fmt.mt +271 -0
- data/std/fs.linux.mt +696 -0
- data/std/fs.windows.mt +711 -0
- data/std/fsm.mt +267 -0
- data/std/gl.mt +2062 -0
- data/std/glfw.mt +471 -0
- data/std/goap.mt +342 -0
- data/std/graph.mt +521 -0
- data/std/gzip.mt +77 -0
- data/std/hash.mt +429 -0
- data/std/http/server.mt +810 -0
- data/std/http.mt +1227 -0
- data/std/intern.mt +53 -0
- data/std/jobs.mt +288 -0
- data/std/json.mt +627 -0
- data/std/libc.mt +34 -0
- data/std/libuv.mt +554 -0
- data/std/linear_algebra.mt +243 -0
- data/std/linked_map.mt +372 -0
- data/std/linked_map_view.mt +49 -0
- data/std/linked_set.mt +117 -0
- data/std/log.mt +69 -0
- data/std/map.mt +418 -0
- data/std/math.mt +24 -0
- data/std/mem/arena.mt +137 -0
- data/std/mem/endian.mt +51 -0
- data/std/mem/heap.mt +298 -0
- data/std/mem/pool.mt +164 -0
- data/std/mem/stack.mt +47 -0
- data/std/mem/tracking.mt +119 -0
- data/std/miniaudio.mt +1299 -0
- data/std/multiset.mt +191 -0
- data/std/net/channel.mt +727 -0
- data/std/net/clock.mt +237 -0
- data/std/net/discovery.mt +277 -0
- data/std/net/lobby.mt +813 -0
- data/std/net/manager.mt +539 -0
- data/std/net/mux.mt +839 -0
- data/std/net/nat.mt +122 -0
- data/std/net/packet.mt +219 -0
- data/std/net/punch.mt +162 -0
- data/std/net/rpc.mt +119 -0
- data/std/net/session.mt +1157 -0
- data/std/net/stun.mt +252 -0
- data/std/net/sync.mt +183 -0
- data/std/net/turn.mt +459 -0
- data/std/net.mt +2944 -0
- data/std/oauth2.mt +408 -0
- data/std/option.mt +51 -0
- data/std/ordered_map.mt +497 -0
- data/std/ordered_set.mt +348 -0
- data/std/path.mt +368 -0
- data/std/pcre2/runtime.mt +35 -0
- data/std/pcre2.mt +78 -0
- data/std/priority_queue.mt +55 -0
- data/std/process.mt +837 -0
- data/std/queue.mt +55 -0
- data/std/random.mt +146 -0
- data/std/raygui.mt +99 -0
- data/std/raylib/debug_console.mt +71 -0
- data/std/raylib/easing.mt +388 -0
- data/std/raylib/packed_assets.mt +255 -0
- data/std/raylib/runtime.mt +30 -0
- data/std/raylib/tracy_gpu.mt +37 -0
- data/std/raylib.mt +1510 -0
- data/std/raymath.mt +153 -0
- data/std/result.mt +89 -0
- data/std/rlgl.mt +268 -0
- data/std/rpng.mt +46 -0
- data/std/rres.mt +36 -0
- data/std/sdl3/runtime.mt +54 -0
- data/std/sdl3.mt +1731 -0
- data/std/serialize.mt +68 -0
- data/std/set.mt +124 -0
- data/std/spatial.mt +176 -0
- data/std/sqlite3.mt +151 -0
- data/std/stack.mt +55 -0
- data/std/stb_image.mt +47 -0
- data/std/stb_image_resize2.mt +41 -0
- data/std/stb_image_write.mt +17 -0
- data/std/stb_rect_pack.mt +15 -0
- data/std/stb_truetype.mt +77 -0
- data/std/stb_vorbis.mt +16 -0
- data/std/stdio.mt +88 -0
- data/std/steamworks.mt +1542 -0
- data/std/str.mt +293 -0
- data/std/string.mt +234 -0
- data/std/sync.mt +194 -0
- data/std/tar.mt +704 -0
- data/std/terminal.mt +1002 -0
- data/std/testing.mt +266 -0
- data/std/thread.mt +120 -0
- data/std/time.mt +105 -0
- data/std/tls.mt +616 -0
- data/std/toml.mt +1310 -0
- data/std/tracy.mt +42 -0
- data/std/uri.mt +118 -0
- data/std/url.mt +372 -0
- data/std/vec.mt +433 -0
- data/std/zstd.mt +94 -0
- metadata +187 -2
data/std/c/curl.mt
ADDED
|
@@ -0,0 +1,1223 @@
|
|
|
1
|
+
# generated by mtc bindgen from /usr/include/curl/curl.h
|
|
2
|
+
external
|
|
3
|
+
|
|
4
|
+
link "curl"
|
|
5
|
+
include "curl/curl.h"
|
|
6
|
+
|
|
7
|
+
struct curl_fileinfo_strings:
|
|
8
|
+
time: ptr[char]
|
|
9
|
+
perm: ptr[char]
|
|
10
|
+
user: ptr[char]
|
|
11
|
+
group: ptr[char]
|
|
12
|
+
target: ptr[char]
|
|
13
|
+
|
|
14
|
+
union CURLMsg_data:
|
|
15
|
+
whatever: ptr[void]
|
|
16
|
+
result: CURLcode
|
|
17
|
+
|
|
18
|
+
struct sockaddr = c"struct sockaddr":
|
|
19
|
+
sa_family: ushort
|
|
20
|
+
sa_data: array[char, 14]
|
|
21
|
+
|
|
22
|
+
struct curl_header = c"struct curl_header":
|
|
23
|
+
name: ptr[char]
|
|
24
|
+
value: ptr[char]
|
|
25
|
+
amount: ptr_uint
|
|
26
|
+
index: ptr_uint
|
|
27
|
+
origin: uint
|
|
28
|
+
anchor: ptr[void]
|
|
29
|
+
|
|
30
|
+
struct curl_ws_frame = c"struct curl_ws_frame":
|
|
31
|
+
age: int
|
|
32
|
+
flags_: int
|
|
33
|
+
offset: ptr_int
|
|
34
|
+
bytesleft: ptr_int
|
|
35
|
+
len: ptr_uint
|
|
36
|
+
|
|
37
|
+
opaque va_list = c"va_list"
|
|
38
|
+
|
|
39
|
+
type curl_off_t = ptr_int
|
|
40
|
+
type CURL = void
|
|
41
|
+
type CURLSH = void
|
|
42
|
+
type curl_socket_t = int
|
|
43
|
+
|
|
44
|
+
enum curl_sslbackend: int
|
|
45
|
+
CURLSSLBACKEND_NONE = 0
|
|
46
|
+
CURLSSLBACKEND_OPENSSL = 1
|
|
47
|
+
CURLSSLBACKEND_GNUTLS = 2
|
|
48
|
+
CURLSSLBACKEND_NSS = 3
|
|
49
|
+
CURLSSLBACKEND_OBSOLETE4 = 4
|
|
50
|
+
CURLSSLBACKEND_GSKIT = 5
|
|
51
|
+
CURLSSLBACKEND_POLARSSL = 6
|
|
52
|
+
CURLSSLBACKEND_WOLFSSL = 7
|
|
53
|
+
CURLSSLBACKEND_SCHANNEL = 8
|
|
54
|
+
CURLSSLBACKEND_SECURETRANSPORT = 9
|
|
55
|
+
CURLSSLBACKEND_AXTLS = 10
|
|
56
|
+
CURLSSLBACKEND_MBEDTLS = 11
|
|
57
|
+
CURLSSLBACKEND_MESALINK = 12
|
|
58
|
+
CURLSSLBACKEND_BEARSSL = 13
|
|
59
|
+
CURLSSLBACKEND_RUSTLS = 14
|
|
60
|
+
|
|
61
|
+
struct curl_httppost = c"struct curl_httppost":
|
|
62
|
+
next: ptr[curl_httppost]
|
|
63
|
+
name: ptr[char]
|
|
64
|
+
namelength: ptr_int
|
|
65
|
+
contents: ptr[char]
|
|
66
|
+
contentslength: ptr_int
|
|
67
|
+
buffer: ptr[char]
|
|
68
|
+
bufferlength: ptr_int
|
|
69
|
+
contenttype: ptr[char]
|
|
70
|
+
contentheader: ptr[curl_slist]
|
|
71
|
+
more: ptr[curl_httppost]
|
|
72
|
+
flags_: ptr_int
|
|
73
|
+
showfilename: ptr[char]
|
|
74
|
+
userp: ptr[void]
|
|
75
|
+
contentlen: ptr_int
|
|
76
|
+
|
|
77
|
+
type curl_progress_callback = fn(arg0: ptr[void], arg1: double, arg2: double, arg3: double, arg4: double) -> int
|
|
78
|
+
type curl_xferinfo_callback = fn(arg0: ptr[void], arg1: curl_off_t, arg2: curl_off_t, arg3: curl_off_t, arg4: curl_off_t) -> int
|
|
79
|
+
type curl_write_callback = fn(arg0: ptr[char], arg1: ptr_uint, arg2: ptr_uint, arg3: ptr[void]) -> ptr_uint
|
|
80
|
+
type curl_resolver_start_callback = fn(arg0: ptr[void], arg1: ptr[void], arg2: ptr[void]) -> int
|
|
81
|
+
|
|
82
|
+
enum curlfiletype: int
|
|
83
|
+
CURLFILETYPE_FILE = 0
|
|
84
|
+
CURLFILETYPE_DIRECTORY = 1
|
|
85
|
+
CURLFILETYPE_SYMLINK = 2
|
|
86
|
+
CURLFILETYPE_DEVICE_BLOCK = 3
|
|
87
|
+
CURLFILETYPE_DEVICE_CHAR = 4
|
|
88
|
+
CURLFILETYPE_NAMEDPIPE = 5
|
|
89
|
+
CURLFILETYPE_SOCKET = 6
|
|
90
|
+
CURLFILETYPE_DOOR = 7
|
|
91
|
+
CURLFILETYPE_UNKNOWN = 8
|
|
92
|
+
|
|
93
|
+
struct curl_fileinfo = c"struct curl_fileinfo":
|
|
94
|
+
filename: ptr[char]
|
|
95
|
+
filetype: int
|
|
96
|
+
time: ptr_int
|
|
97
|
+
perm: uint
|
|
98
|
+
uid: int
|
|
99
|
+
gid: int
|
|
100
|
+
size: ptr_int
|
|
101
|
+
hardlinks: ptr_int
|
|
102
|
+
strings: curl_fileinfo_strings
|
|
103
|
+
flags_: uint
|
|
104
|
+
b_data: ptr[char]
|
|
105
|
+
b_size: ptr_uint
|
|
106
|
+
b_used: ptr_uint
|
|
107
|
+
|
|
108
|
+
type curl_chunk_bgn_callback = fn(arg0: const_ptr[void], arg1: ptr[void], arg2: int) -> ptr_int
|
|
109
|
+
type curl_chunk_end_callback = fn(arg0: ptr[void]) -> ptr_int
|
|
110
|
+
type curl_fnmatch_callback = fn(arg0: ptr[void], arg1: cstr, arg2: cstr) -> int
|
|
111
|
+
type curl_seek_callback = fn(arg0: ptr[void], arg1: curl_off_t, arg2: int) -> int
|
|
112
|
+
type curl_read_callback = fn(arg0: ptr[char], arg1: ptr_uint, arg2: ptr_uint, arg3: ptr[void]) -> ptr_uint
|
|
113
|
+
type curl_trailer_callback = fn(arg0: ptr[ptr[curl_slist]], arg1: ptr[void]) -> int
|
|
114
|
+
|
|
115
|
+
struct curl_sockaddr = c"struct curl_sockaddr":
|
|
116
|
+
family: int
|
|
117
|
+
socktype: int
|
|
118
|
+
protocol: int
|
|
119
|
+
addrlen: uint
|
|
120
|
+
addr: sockaddr
|
|
121
|
+
|
|
122
|
+
type curl_closesocket_callback = fn(arg0: ptr[void], arg1: curl_socket_t) -> int
|
|
123
|
+
type curl_malloc_callback = fn(arg0: ptr_uint) -> ptr[void]
|
|
124
|
+
type curl_free_callback = fn(arg0: ptr[void]) -> void
|
|
125
|
+
type curl_realloc_callback = fn(arg0: ptr[void], arg1: ptr_uint) -> ptr[void]
|
|
126
|
+
type curl_strdup_callback = fn(arg0: cstr) -> ptr[char]
|
|
127
|
+
type curl_calloc_callback = fn(arg0: ptr_uint, arg1: ptr_uint) -> ptr[void]
|
|
128
|
+
|
|
129
|
+
enum curl_infotype: int
|
|
130
|
+
CURLINFO_TEXT = 0
|
|
131
|
+
CURLINFO_HEADER_IN = 1
|
|
132
|
+
CURLINFO_HEADER_OUT = 2
|
|
133
|
+
CURLINFO_DATA_IN = 3
|
|
134
|
+
CURLINFO_DATA_OUT = 4
|
|
135
|
+
CURLINFO_SSL_DATA_IN = 5
|
|
136
|
+
CURLINFO_SSL_DATA_OUT = 6
|
|
137
|
+
CURLINFO_END = 7
|
|
138
|
+
|
|
139
|
+
type curl_debug_callback = fn(arg0: ptr[CURL], arg1: curl_infotype, arg2: ptr[char], arg3: ptr_uint, arg4: ptr[void]) -> int
|
|
140
|
+
type curl_prereq_callback = fn(arg0: ptr[void], arg1: ptr[char], arg2: ptr[char], arg3: int, arg4: int) -> int
|
|
141
|
+
|
|
142
|
+
enum CURLcode: int
|
|
143
|
+
CURLE_OK = 0
|
|
144
|
+
CURLE_UNSUPPORTED_PROTOCOL = 1
|
|
145
|
+
CURLE_FAILED_INIT = 2
|
|
146
|
+
CURLE_URL_MALFORMAT = 3
|
|
147
|
+
CURLE_NOT_BUILT_IN = 4
|
|
148
|
+
CURLE_COULDNT_RESOLVE_PROXY = 5
|
|
149
|
+
CURLE_COULDNT_RESOLVE_HOST = 6
|
|
150
|
+
CURLE_COULDNT_CONNECT = 7
|
|
151
|
+
CURLE_WEIRD_SERVER_REPLY = 8
|
|
152
|
+
CURLE_REMOTE_ACCESS_DENIED = 9
|
|
153
|
+
CURLE_FTP_ACCEPT_FAILED = 10
|
|
154
|
+
CURLE_FTP_WEIRD_PASS_REPLY = 11
|
|
155
|
+
CURLE_FTP_ACCEPT_TIMEOUT = 12
|
|
156
|
+
CURLE_FTP_WEIRD_PASV_REPLY = 13
|
|
157
|
+
CURLE_FTP_WEIRD_227_FORMAT = 14
|
|
158
|
+
CURLE_FTP_CANT_GET_HOST = 15
|
|
159
|
+
CURLE_HTTP2 = 16
|
|
160
|
+
CURLE_FTP_COULDNT_SET_TYPE = 17
|
|
161
|
+
CURLE_PARTIAL_FILE = 18
|
|
162
|
+
CURLE_FTP_COULDNT_RETR_FILE = 19
|
|
163
|
+
CURLE_OBSOLETE20 = 20
|
|
164
|
+
CURLE_QUOTE_ERROR = 21
|
|
165
|
+
CURLE_HTTP_RETURNED_ERROR = 22
|
|
166
|
+
CURLE_WRITE_ERROR = 23
|
|
167
|
+
CURLE_OBSOLETE24 = 24
|
|
168
|
+
CURLE_UPLOAD_FAILED = 25
|
|
169
|
+
CURLE_READ_ERROR = 26
|
|
170
|
+
CURLE_OUT_OF_MEMORY = 27
|
|
171
|
+
CURLE_OPERATION_TIMEDOUT = 28
|
|
172
|
+
CURLE_OBSOLETE29 = 29
|
|
173
|
+
CURLE_FTP_PORT_FAILED = 30
|
|
174
|
+
CURLE_FTP_COULDNT_USE_REST = 31
|
|
175
|
+
CURLE_OBSOLETE32 = 32
|
|
176
|
+
CURLE_RANGE_ERROR = 33
|
|
177
|
+
CURLE_OBSOLETE34 = 34
|
|
178
|
+
CURLE_SSL_CONNECT_ERROR = 35
|
|
179
|
+
CURLE_BAD_DOWNLOAD_RESUME = 36
|
|
180
|
+
CURLE_FILE_COULDNT_READ_FILE = 37
|
|
181
|
+
CURLE_LDAP_CANNOT_BIND = 38
|
|
182
|
+
CURLE_LDAP_SEARCH_FAILED = 39
|
|
183
|
+
CURLE_OBSOLETE40 = 40
|
|
184
|
+
CURLE_OBSOLETE41 = 41
|
|
185
|
+
CURLE_ABORTED_BY_CALLBACK = 42
|
|
186
|
+
CURLE_BAD_FUNCTION_ARGUMENT = 43
|
|
187
|
+
CURLE_OBSOLETE44 = 44
|
|
188
|
+
CURLE_INTERFACE_FAILED = 45
|
|
189
|
+
CURLE_OBSOLETE46 = 46
|
|
190
|
+
CURLE_TOO_MANY_REDIRECTS = 47
|
|
191
|
+
CURLE_UNKNOWN_OPTION = 48
|
|
192
|
+
CURLE_SETOPT_OPTION_SYNTAX = 49
|
|
193
|
+
CURLE_OBSOLETE50 = 50
|
|
194
|
+
CURLE_OBSOLETE51 = 51
|
|
195
|
+
CURLE_GOT_NOTHING = 52
|
|
196
|
+
CURLE_SSL_ENGINE_NOTFOUND = 53
|
|
197
|
+
CURLE_SSL_ENGINE_SETFAILED = 54
|
|
198
|
+
CURLE_SEND_ERROR = 55
|
|
199
|
+
CURLE_RECV_ERROR = 56
|
|
200
|
+
CURLE_OBSOLETE57 = 57
|
|
201
|
+
CURLE_SSL_CERTPROBLEM = 58
|
|
202
|
+
CURLE_SSL_CIPHER = 59
|
|
203
|
+
CURLE_PEER_FAILED_VERIFICATION = 60
|
|
204
|
+
CURLE_BAD_CONTENT_ENCODING = 61
|
|
205
|
+
CURLE_OBSOLETE62 = 62
|
|
206
|
+
CURLE_FILESIZE_EXCEEDED = 63
|
|
207
|
+
CURLE_USE_SSL_FAILED = 64
|
|
208
|
+
CURLE_SEND_FAIL_REWIND = 65
|
|
209
|
+
CURLE_SSL_ENGINE_INITFAILED = 66
|
|
210
|
+
CURLE_LOGIN_DENIED = 67
|
|
211
|
+
CURLE_TFTP_NOTFOUND = 68
|
|
212
|
+
CURLE_TFTP_PERM = 69
|
|
213
|
+
CURLE_REMOTE_DISK_FULL = 70
|
|
214
|
+
CURLE_TFTP_ILLEGAL = 71
|
|
215
|
+
CURLE_TFTP_UNKNOWNID = 72
|
|
216
|
+
CURLE_REMOTE_FILE_EXISTS = 73
|
|
217
|
+
CURLE_TFTP_NOSUCHUSER = 74
|
|
218
|
+
CURLE_OBSOLETE75 = 75
|
|
219
|
+
CURLE_OBSOLETE76 = 76
|
|
220
|
+
CURLE_SSL_CACERT_BADFILE = 77
|
|
221
|
+
CURLE_REMOTE_FILE_NOT_FOUND = 78
|
|
222
|
+
CURLE_SSH = 79
|
|
223
|
+
CURLE_SSL_SHUTDOWN_FAILED = 80
|
|
224
|
+
CURLE_AGAIN = 81
|
|
225
|
+
CURLE_SSL_CRL_BADFILE = 82
|
|
226
|
+
CURLE_SSL_ISSUER_ERROR = 83
|
|
227
|
+
CURLE_FTP_PRET_FAILED = 84
|
|
228
|
+
CURLE_RTSP_CSEQ_ERROR = 85
|
|
229
|
+
CURLE_RTSP_SESSION_ERROR = 86
|
|
230
|
+
CURLE_FTP_BAD_FILE_LIST = 87
|
|
231
|
+
CURLE_CHUNK_FAILED = 88
|
|
232
|
+
CURLE_NO_CONNECTION_AVAILABLE = 89
|
|
233
|
+
CURLE_SSL_PINNEDPUBKEYNOTMATCH = 90
|
|
234
|
+
CURLE_SSL_INVALIDCERTSTATUS = 91
|
|
235
|
+
CURLE_HTTP2_STREAM = 92
|
|
236
|
+
CURLE_RECURSIVE_API_CALL = 93
|
|
237
|
+
CURLE_AUTH_ERROR = 94
|
|
238
|
+
CURLE_HTTP3 = 95
|
|
239
|
+
CURLE_QUIC_CONNECT_ERROR = 96
|
|
240
|
+
CURLE_PROXY = 97
|
|
241
|
+
CURLE_SSL_CLIENTCERT = 98
|
|
242
|
+
CURLE_UNRECOVERABLE_POLL = 99
|
|
243
|
+
CURLE_TOO_LARGE = 100
|
|
244
|
+
CURLE_ECH_REQUIRED = 101
|
|
245
|
+
CURL_LAST = 102
|
|
246
|
+
|
|
247
|
+
enum CURLproxycode: int
|
|
248
|
+
CURLPX_OK = 0
|
|
249
|
+
CURLPX_BAD_ADDRESS_TYPE = 1
|
|
250
|
+
CURLPX_BAD_VERSION = 2
|
|
251
|
+
CURLPX_CLOSED = 3
|
|
252
|
+
CURLPX_GSSAPI = 4
|
|
253
|
+
CURLPX_GSSAPI_PERMSG = 5
|
|
254
|
+
CURLPX_GSSAPI_PROTECTION = 6
|
|
255
|
+
CURLPX_IDENTD = 7
|
|
256
|
+
CURLPX_IDENTD_DIFFER = 8
|
|
257
|
+
CURLPX_LONG_HOSTNAME = 9
|
|
258
|
+
CURLPX_LONG_PASSWD = 10
|
|
259
|
+
CURLPX_LONG_USER = 11
|
|
260
|
+
CURLPX_NO_AUTH = 12
|
|
261
|
+
CURLPX_RECV_ADDRESS = 13
|
|
262
|
+
CURLPX_RECV_AUTH = 14
|
|
263
|
+
CURLPX_RECV_CONNECT = 15
|
|
264
|
+
CURLPX_RECV_REQACK = 16
|
|
265
|
+
CURLPX_REPLY_ADDRESS_TYPE_NOT_SUPPORTED = 17
|
|
266
|
+
CURLPX_REPLY_COMMAND_NOT_SUPPORTED = 18
|
|
267
|
+
CURLPX_REPLY_CONNECTION_REFUSED = 19
|
|
268
|
+
CURLPX_REPLY_GENERAL_SERVER_FAILURE = 20
|
|
269
|
+
CURLPX_REPLY_HOST_UNREACHABLE = 21
|
|
270
|
+
CURLPX_REPLY_NETWORK_UNREACHABLE = 22
|
|
271
|
+
CURLPX_REPLY_NOT_ALLOWED = 23
|
|
272
|
+
CURLPX_REPLY_TTL_EXPIRED = 24
|
|
273
|
+
CURLPX_REPLY_UNASSIGNED = 25
|
|
274
|
+
CURLPX_REQUEST_FAILED = 26
|
|
275
|
+
CURLPX_RESOLVE_HOST = 27
|
|
276
|
+
CURLPX_SEND_AUTH = 28
|
|
277
|
+
CURLPX_SEND_CONNECT = 29
|
|
278
|
+
CURLPX_SEND_REQUEST = 30
|
|
279
|
+
CURLPX_UNKNOWN_FAIL = 31
|
|
280
|
+
CURLPX_UNKNOWN_MODE = 32
|
|
281
|
+
CURLPX_USER_REJECTED = 33
|
|
282
|
+
CURLPX_LAST = 34
|
|
283
|
+
|
|
284
|
+
type curl_conv_callback = fn(arg0: ptr[char], arg1: ptr_uint) -> CURLcode
|
|
285
|
+
type curl_ssl_ctx_callback = fn(arg0: ptr[CURL], arg1: ptr[void], arg2: ptr[void]) -> CURLcode
|
|
286
|
+
|
|
287
|
+
enum curl_proxytype: int
|
|
288
|
+
CURLPROXY_LAST = 9
|
|
289
|
+
|
|
290
|
+
enum curl_khtype: int
|
|
291
|
+
CURLKHTYPE_UNKNOWN = 0
|
|
292
|
+
CURLKHTYPE_RSA1 = 1
|
|
293
|
+
CURLKHTYPE_RSA = 2
|
|
294
|
+
CURLKHTYPE_DSS = 3
|
|
295
|
+
CURLKHTYPE_ECDSA = 4
|
|
296
|
+
CURLKHTYPE_ED25519 = 5
|
|
297
|
+
|
|
298
|
+
struct curl_khkey = c"struct curl_khkey":
|
|
299
|
+
key: cstr
|
|
300
|
+
len: ptr_uint
|
|
301
|
+
keytype: curl_khtype
|
|
302
|
+
|
|
303
|
+
enum curl_khstat: int
|
|
304
|
+
CURLKHSTAT_FINE_ADD_TO_FILE = 0
|
|
305
|
+
CURLKHSTAT_FINE = 1
|
|
306
|
+
CURLKHSTAT_REJECT = 2
|
|
307
|
+
CURLKHSTAT_DEFER = 3
|
|
308
|
+
CURLKHSTAT_FINE_REPLACE = 4
|
|
309
|
+
CURLKHSTAT_LAST = 5
|
|
310
|
+
|
|
311
|
+
enum curl_khmatch: int
|
|
312
|
+
CURLKHMATCH_OK = 0
|
|
313
|
+
CURLKHMATCH_MISMATCH = 1
|
|
314
|
+
CURLKHMATCH_MISSING = 2
|
|
315
|
+
CURLKHMATCH_LAST = 3
|
|
316
|
+
|
|
317
|
+
type curl_sshkeycallback = fn(arg0: ptr[CURL], arg1: const_ptr[curl_khkey], arg2: const_ptr[curl_khkey], arg3: curl_khmatch, arg4: ptr[void]) -> int
|
|
318
|
+
type curl_sshhostkeycallback = fn(arg0: ptr[void], arg1: int, arg2: cstr, arg3: ptr_uint) -> int
|
|
319
|
+
|
|
320
|
+
flags curl_usessl: int
|
|
321
|
+
CURLUSESSL_LAST = 4
|
|
322
|
+
|
|
323
|
+
enum curl_ftpccc: int
|
|
324
|
+
CURLFTPSSL_CCC_LAST = 3
|
|
325
|
+
|
|
326
|
+
enum curl_ftpauth: int
|
|
327
|
+
CURLFTPAUTH_LAST = 3
|
|
328
|
+
|
|
329
|
+
enum curl_ftpcreatedir: int
|
|
330
|
+
CURLFTP_CREATE_DIR_LAST = 3
|
|
331
|
+
|
|
332
|
+
flags curl_ftpmethod: int
|
|
333
|
+
CURLFTPMETHOD_LAST = 4
|
|
334
|
+
|
|
335
|
+
struct curl_hstsentry = c"struct curl_hstsentry":
|
|
336
|
+
name: ptr[char]
|
|
337
|
+
namelen: ptr_uint
|
|
338
|
+
includeSubDomains: uint
|
|
339
|
+
expire: array[char, 18]
|
|
340
|
+
|
|
341
|
+
struct curl_index = c"struct curl_index":
|
|
342
|
+
index: ptr_uint
|
|
343
|
+
total: ptr_uint
|
|
344
|
+
|
|
345
|
+
flags CURLSTScode: int
|
|
346
|
+
CURLSTS_OK = 0
|
|
347
|
+
CURLSTS_DONE = 1
|
|
348
|
+
CURLSTS_FAIL = 2
|
|
349
|
+
|
|
350
|
+
type curl_hstsread_callback = fn(arg0: ptr[CURL], arg1: ptr[curl_hstsentry], arg2: ptr[void]) -> CURLSTScode
|
|
351
|
+
type curl_hstswrite_callback = fn(arg0: ptr[CURL], arg1: ptr[curl_hstsentry], arg2: ptr[curl_index], arg3: ptr[void]) -> CURLSTScode
|
|
352
|
+
|
|
353
|
+
enum CURLoption: int
|
|
354
|
+
CURLOPT_WRITEDATA = 10001
|
|
355
|
+
CURLOPT_URL = 10002
|
|
356
|
+
CURLOPT_PORT = 3
|
|
357
|
+
CURLOPT_PROXY = 10004
|
|
358
|
+
CURLOPT_USERPWD = 10005
|
|
359
|
+
CURLOPT_PROXYUSERPWD = 10006
|
|
360
|
+
CURLOPT_RANGE = 10007
|
|
361
|
+
CURLOPT_READDATA = 10009
|
|
362
|
+
CURLOPT_ERRORBUFFER = 10010
|
|
363
|
+
CURLOPT_WRITEFUNCTION = 20011
|
|
364
|
+
CURLOPT_READFUNCTION = 20012
|
|
365
|
+
CURLOPT_TIMEOUT = 13
|
|
366
|
+
CURLOPT_INFILESIZE = 14
|
|
367
|
+
CURLOPT_POSTFIELDS = 10015
|
|
368
|
+
CURLOPT_REFERER = 10016
|
|
369
|
+
CURLOPT_FTPPORT = 10017
|
|
370
|
+
CURLOPT_USERAGENT = 10018
|
|
371
|
+
CURLOPT_LOW_SPEED_LIMIT = 19
|
|
372
|
+
CURLOPT_LOW_SPEED_TIME = 20
|
|
373
|
+
CURLOPT_RESUME_FROM = 21
|
|
374
|
+
CURLOPT_COOKIE = 10022
|
|
375
|
+
CURLOPT_HTTPHEADER = 10023
|
|
376
|
+
CURLOPT_HTTPPOST = 10024
|
|
377
|
+
CURLOPT_SSLCERT = 10025
|
|
378
|
+
CURLOPT_KEYPASSWD = 10026
|
|
379
|
+
CURLOPT_CRLF = 27
|
|
380
|
+
CURLOPT_QUOTE = 10028
|
|
381
|
+
CURLOPT_HEADERDATA = 10029
|
|
382
|
+
CURLOPT_COOKIEFILE = 10031
|
|
383
|
+
CURLOPT_SSLVERSION = 32
|
|
384
|
+
CURLOPT_TIMECONDITION = 33
|
|
385
|
+
CURLOPT_TIMEVALUE = 34
|
|
386
|
+
CURLOPT_CUSTOMREQUEST = 10036
|
|
387
|
+
CURLOPT_STDERR = 10037
|
|
388
|
+
CURLOPT_POSTQUOTE = 10039
|
|
389
|
+
CURLOPT_VERBOSE = 41
|
|
390
|
+
CURLOPT_HEADER = 42
|
|
391
|
+
CURLOPT_NOPROGRESS = 43
|
|
392
|
+
CURLOPT_NOBODY = 44
|
|
393
|
+
CURLOPT_FAILONERROR = 45
|
|
394
|
+
CURLOPT_UPLOAD = 46
|
|
395
|
+
CURLOPT_POST = 47
|
|
396
|
+
CURLOPT_DIRLISTONLY = 48
|
|
397
|
+
CURLOPT_APPEND = 50
|
|
398
|
+
CURLOPT_NETRC = 51
|
|
399
|
+
CURLOPT_FOLLOWLOCATION = 52
|
|
400
|
+
CURLOPT_TRANSFERTEXT = 53
|
|
401
|
+
CURLOPT_PUT = 54
|
|
402
|
+
CURLOPT_PROGRESSFUNCTION = 20056
|
|
403
|
+
CURLOPT_XFERINFODATA = 10057
|
|
404
|
+
CURLOPT_AUTOREFERER = 58
|
|
405
|
+
CURLOPT_PROXYPORT = 59
|
|
406
|
+
CURLOPT_POSTFIELDSIZE = 60
|
|
407
|
+
CURLOPT_HTTPPROXYTUNNEL = 61
|
|
408
|
+
CURLOPT_INTERFACE = 10062
|
|
409
|
+
CURLOPT_KRBLEVEL = 10063
|
|
410
|
+
CURLOPT_SSL_VERIFYPEER = 64
|
|
411
|
+
CURLOPT_CAINFO = 10065
|
|
412
|
+
CURLOPT_MAXREDIRS = 68
|
|
413
|
+
CURLOPT_FILETIME = 69
|
|
414
|
+
CURLOPT_TELNETOPTIONS = 10070
|
|
415
|
+
CURLOPT_MAXCONNECTS = 71
|
|
416
|
+
CURLOPT_FRESH_CONNECT = 74
|
|
417
|
+
CURLOPT_FORBID_REUSE = 75
|
|
418
|
+
CURLOPT_RANDOM_FILE = 10076
|
|
419
|
+
CURLOPT_EGDSOCKET = 10077
|
|
420
|
+
CURLOPT_CONNECTTIMEOUT = 78
|
|
421
|
+
CURLOPT_HEADERFUNCTION = 20079
|
|
422
|
+
CURLOPT_HTTPGET = 80
|
|
423
|
+
CURLOPT_SSL_VERIFYHOST = 81
|
|
424
|
+
CURLOPT_COOKIEJAR = 10082
|
|
425
|
+
CURLOPT_SSL_CIPHER_LIST = 10083
|
|
426
|
+
CURLOPT_HTTP_VERSION = 84
|
|
427
|
+
CURLOPT_FTP_USE_EPSV = 85
|
|
428
|
+
CURLOPT_SSLCERTTYPE = 10086
|
|
429
|
+
CURLOPT_SSLKEY = 10087
|
|
430
|
+
CURLOPT_SSLKEYTYPE = 10088
|
|
431
|
+
CURLOPT_SSLENGINE = 10089
|
|
432
|
+
CURLOPT_SSLENGINE_DEFAULT = 90
|
|
433
|
+
CURLOPT_DNS_USE_GLOBAL_CACHE = 91
|
|
434
|
+
CURLOPT_DNS_CACHE_TIMEOUT = 92
|
|
435
|
+
CURLOPT_PREQUOTE = 10093
|
|
436
|
+
CURLOPT_DEBUGFUNCTION = 20094
|
|
437
|
+
CURLOPT_DEBUGDATA = 10095
|
|
438
|
+
CURLOPT_COOKIESESSION = 96
|
|
439
|
+
CURLOPT_CAPATH = 10097
|
|
440
|
+
CURLOPT_BUFFERSIZE = 98
|
|
441
|
+
CURLOPT_NOSIGNAL = 99
|
|
442
|
+
CURLOPT_SHARE = 10100
|
|
443
|
+
CURLOPT_PROXYTYPE = 101
|
|
444
|
+
CURLOPT_ACCEPT_ENCODING = 10102
|
|
445
|
+
CURLOPT_PRIVATE = 10103
|
|
446
|
+
CURLOPT_HTTP200ALIASES = 10104
|
|
447
|
+
CURLOPT_UNRESTRICTED_AUTH = 105
|
|
448
|
+
CURLOPT_FTP_USE_EPRT = 106
|
|
449
|
+
CURLOPT_HTTPAUTH = 107
|
|
450
|
+
CURLOPT_SSL_CTX_FUNCTION = 20108
|
|
451
|
+
CURLOPT_SSL_CTX_DATA = 10109
|
|
452
|
+
CURLOPT_FTP_CREATE_MISSING_DIRS = 110
|
|
453
|
+
CURLOPT_PROXYAUTH = 111
|
|
454
|
+
CURLOPT_SERVER_RESPONSE_TIMEOUT = 112
|
|
455
|
+
CURLOPT_IPRESOLVE = 113
|
|
456
|
+
CURLOPT_MAXFILESIZE = 114
|
|
457
|
+
CURLOPT_INFILESIZE_LARGE = 30115
|
|
458
|
+
CURLOPT_RESUME_FROM_LARGE = 30116
|
|
459
|
+
CURLOPT_MAXFILESIZE_LARGE = 30117
|
|
460
|
+
CURLOPT_NETRC_FILE = 10118
|
|
461
|
+
CURLOPT_USE_SSL = 119
|
|
462
|
+
CURLOPT_POSTFIELDSIZE_LARGE = 30120
|
|
463
|
+
CURLOPT_TCP_NODELAY = 121
|
|
464
|
+
CURLOPT_FTPSSLAUTH = 129
|
|
465
|
+
CURLOPT_IOCTLFUNCTION = 20130
|
|
466
|
+
CURLOPT_IOCTLDATA = 10131
|
|
467
|
+
CURLOPT_FTP_ACCOUNT = 10134
|
|
468
|
+
CURLOPT_COOKIELIST = 10135
|
|
469
|
+
CURLOPT_IGNORE_CONTENT_LENGTH = 136
|
|
470
|
+
CURLOPT_FTP_SKIP_PASV_IP = 137
|
|
471
|
+
CURLOPT_FTP_FILEMETHOD = 138
|
|
472
|
+
CURLOPT_LOCALPORT = 139
|
|
473
|
+
CURLOPT_LOCALPORTRANGE = 140
|
|
474
|
+
CURLOPT_CONNECT_ONLY = 141
|
|
475
|
+
CURLOPT_CONV_FROM_NETWORK_FUNCTION = 20142
|
|
476
|
+
CURLOPT_CONV_TO_NETWORK_FUNCTION = 20143
|
|
477
|
+
CURLOPT_CONV_FROM_UTF8_FUNCTION = 20144
|
|
478
|
+
CURLOPT_MAX_SEND_SPEED_LARGE = 30145
|
|
479
|
+
CURLOPT_MAX_RECV_SPEED_LARGE = 30146
|
|
480
|
+
CURLOPT_FTP_ALTERNATIVE_TO_USER = 10147
|
|
481
|
+
CURLOPT_SOCKOPTFUNCTION = 20148
|
|
482
|
+
CURLOPT_SOCKOPTDATA = 10149
|
|
483
|
+
CURLOPT_SSL_SESSIONID_CACHE = 150
|
|
484
|
+
CURLOPT_SSH_AUTH_TYPES = 151
|
|
485
|
+
CURLOPT_SSH_PUBLIC_KEYFILE = 10152
|
|
486
|
+
CURLOPT_SSH_PRIVATE_KEYFILE = 10153
|
|
487
|
+
CURLOPT_FTP_SSL_CCC = 154
|
|
488
|
+
CURLOPT_TIMEOUT_MS = 155
|
|
489
|
+
CURLOPT_CONNECTTIMEOUT_MS = 156
|
|
490
|
+
CURLOPT_HTTP_TRANSFER_DECODING = 157
|
|
491
|
+
CURLOPT_HTTP_CONTENT_DECODING = 158
|
|
492
|
+
CURLOPT_NEW_FILE_PERMS = 159
|
|
493
|
+
CURLOPT_NEW_DIRECTORY_PERMS = 160
|
|
494
|
+
CURLOPT_POSTREDIR = 161
|
|
495
|
+
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 = 10162
|
|
496
|
+
CURLOPT_OPENSOCKETFUNCTION = 20163
|
|
497
|
+
CURLOPT_OPENSOCKETDATA = 10164
|
|
498
|
+
CURLOPT_COPYPOSTFIELDS = 10165
|
|
499
|
+
CURLOPT_PROXY_TRANSFER_MODE = 166
|
|
500
|
+
CURLOPT_SEEKFUNCTION = 20167
|
|
501
|
+
CURLOPT_SEEKDATA = 10168
|
|
502
|
+
CURLOPT_CRLFILE = 10169
|
|
503
|
+
CURLOPT_ISSUERCERT = 10170
|
|
504
|
+
CURLOPT_ADDRESS_SCOPE = 171
|
|
505
|
+
CURLOPT_CERTINFO = 172
|
|
506
|
+
CURLOPT_USERNAME = 10173
|
|
507
|
+
CURLOPT_PASSWORD = 10174
|
|
508
|
+
CURLOPT_PROXYUSERNAME = 10175
|
|
509
|
+
CURLOPT_PROXYPASSWORD = 10176
|
|
510
|
+
CURLOPT_NOPROXY = 10177
|
|
511
|
+
CURLOPT_TFTP_BLKSIZE = 178
|
|
512
|
+
CURLOPT_SOCKS5_GSSAPI_SERVICE = 10179
|
|
513
|
+
CURLOPT_SOCKS5_GSSAPI_NEC = 180
|
|
514
|
+
CURLOPT_PROTOCOLS = 181
|
|
515
|
+
CURLOPT_REDIR_PROTOCOLS = 182
|
|
516
|
+
CURLOPT_SSH_KNOWNHOSTS = 10183
|
|
517
|
+
CURLOPT_SSH_KEYFUNCTION = 20184
|
|
518
|
+
CURLOPT_SSH_KEYDATA = 10185
|
|
519
|
+
CURLOPT_MAIL_FROM = 10186
|
|
520
|
+
CURLOPT_MAIL_RCPT = 10187
|
|
521
|
+
CURLOPT_FTP_USE_PRET = 188
|
|
522
|
+
CURLOPT_RTSP_REQUEST = 189
|
|
523
|
+
CURLOPT_RTSP_SESSION_ID = 10190
|
|
524
|
+
CURLOPT_RTSP_STREAM_URI = 10191
|
|
525
|
+
CURLOPT_RTSP_TRANSPORT = 10192
|
|
526
|
+
CURLOPT_RTSP_CLIENT_CSEQ = 193
|
|
527
|
+
CURLOPT_RTSP_SERVER_CSEQ = 194
|
|
528
|
+
CURLOPT_INTERLEAVEDATA = 10195
|
|
529
|
+
CURLOPT_INTERLEAVEFUNCTION = 20196
|
|
530
|
+
CURLOPT_WILDCARDMATCH = 197
|
|
531
|
+
CURLOPT_CHUNK_BGN_FUNCTION = 20198
|
|
532
|
+
CURLOPT_CHUNK_END_FUNCTION = 20199
|
|
533
|
+
CURLOPT_FNMATCH_FUNCTION = 20200
|
|
534
|
+
CURLOPT_CHUNK_DATA = 10201
|
|
535
|
+
CURLOPT_FNMATCH_DATA = 10202
|
|
536
|
+
CURLOPT_RESOLVE = 10203
|
|
537
|
+
CURLOPT_TLSAUTH_USERNAME = 10204
|
|
538
|
+
CURLOPT_TLSAUTH_PASSWORD = 10205
|
|
539
|
+
CURLOPT_TLSAUTH_TYPE = 10206
|
|
540
|
+
CURLOPT_TRANSFER_ENCODING = 207
|
|
541
|
+
CURLOPT_CLOSESOCKETFUNCTION = 20208
|
|
542
|
+
CURLOPT_CLOSESOCKETDATA = 10209
|
|
543
|
+
CURLOPT_GSSAPI_DELEGATION = 210
|
|
544
|
+
CURLOPT_DNS_SERVERS = 10211
|
|
545
|
+
CURLOPT_ACCEPTTIMEOUT_MS = 212
|
|
546
|
+
CURLOPT_TCP_KEEPALIVE = 213
|
|
547
|
+
CURLOPT_TCP_KEEPIDLE = 214
|
|
548
|
+
CURLOPT_TCP_KEEPINTVL = 215
|
|
549
|
+
CURLOPT_SSL_OPTIONS = 216
|
|
550
|
+
CURLOPT_MAIL_AUTH = 10217
|
|
551
|
+
CURLOPT_SASL_IR = 218
|
|
552
|
+
CURLOPT_XFERINFOFUNCTION = 20219
|
|
553
|
+
CURLOPT_XOAUTH2_BEARER = 10220
|
|
554
|
+
CURLOPT_DNS_INTERFACE = 10221
|
|
555
|
+
CURLOPT_DNS_LOCAL_IP4 = 10222
|
|
556
|
+
CURLOPT_DNS_LOCAL_IP6 = 10223
|
|
557
|
+
CURLOPT_LOGIN_OPTIONS = 10224
|
|
558
|
+
CURLOPT_SSL_ENABLE_NPN = 225
|
|
559
|
+
CURLOPT_SSL_ENABLE_ALPN = 226
|
|
560
|
+
CURLOPT_EXPECT_100_TIMEOUT_MS = 227
|
|
561
|
+
CURLOPT_PROXYHEADER = 10228
|
|
562
|
+
CURLOPT_HEADEROPT = 229
|
|
563
|
+
CURLOPT_PINNEDPUBLICKEY = 10230
|
|
564
|
+
CURLOPT_UNIX_SOCKET_PATH = 10231
|
|
565
|
+
CURLOPT_SSL_VERIFYSTATUS = 232
|
|
566
|
+
CURLOPT_SSL_FALSESTART = 233
|
|
567
|
+
CURLOPT_PATH_AS_IS = 234
|
|
568
|
+
CURLOPT_PROXY_SERVICE_NAME = 10235
|
|
569
|
+
CURLOPT_SERVICE_NAME = 10236
|
|
570
|
+
CURLOPT_PIPEWAIT = 237
|
|
571
|
+
CURLOPT_DEFAULT_PROTOCOL = 10238
|
|
572
|
+
CURLOPT_STREAM_WEIGHT = 239
|
|
573
|
+
CURLOPT_STREAM_DEPENDS = 10240
|
|
574
|
+
CURLOPT_STREAM_DEPENDS_E = 10241
|
|
575
|
+
CURLOPT_TFTP_NO_OPTIONS = 242
|
|
576
|
+
CURLOPT_CONNECT_TO = 10243
|
|
577
|
+
CURLOPT_TCP_FASTOPEN = 244
|
|
578
|
+
CURLOPT_KEEP_SENDING_ON_ERROR = 245
|
|
579
|
+
CURLOPT_PROXY_CAINFO = 10246
|
|
580
|
+
CURLOPT_PROXY_CAPATH = 10247
|
|
581
|
+
CURLOPT_PROXY_SSL_VERIFYPEER = 248
|
|
582
|
+
CURLOPT_PROXY_SSL_VERIFYHOST = 249
|
|
583
|
+
CURLOPT_PROXY_SSLVERSION = 250
|
|
584
|
+
CURLOPT_PROXY_TLSAUTH_USERNAME = 10251
|
|
585
|
+
CURLOPT_PROXY_TLSAUTH_PASSWORD = 10252
|
|
586
|
+
CURLOPT_PROXY_TLSAUTH_TYPE = 10253
|
|
587
|
+
CURLOPT_PROXY_SSLCERT = 10254
|
|
588
|
+
CURLOPT_PROXY_SSLCERTTYPE = 10255
|
|
589
|
+
CURLOPT_PROXY_SSLKEY = 10256
|
|
590
|
+
CURLOPT_PROXY_SSLKEYTYPE = 10257
|
|
591
|
+
CURLOPT_PROXY_KEYPASSWD = 10258
|
|
592
|
+
CURLOPT_PROXY_SSL_CIPHER_LIST = 10259
|
|
593
|
+
CURLOPT_PROXY_CRLFILE = 10260
|
|
594
|
+
CURLOPT_PROXY_SSL_OPTIONS = 261
|
|
595
|
+
CURLOPT_PRE_PROXY = 10262
|
|
596
|
+
CURLOPT_PROXY_PINNEDPUBLICKEY = 10263
|
|
597
|
+
CURLOPT_ABSTRACT_UNIX_SOCKET = 10264
|
|
598
|
+
CURLOPT_SUPPRESS_CONNECT_HEADERS = 265
|
|
599
|
+
CURLOPT_REQUEST_TARGET = 10266
|
|
600
|
+
CURLOPT_SOCKS5_AUTH = 267
|
|
601
|
+
CURLOPT_SSH_COMPRESSION = 268
|
|
602
|
+
CURLOPT_MIMEPOST = 10269
|
|
603
|
+
CURLOPT_TIMEVALUE_LARGE = 30270
|
|
604
|
+
CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS = 271
|
|
605
|
+
CURLOPT_RESOLVER_START_FUNCTION = 20272
|
|
606
|
+
CURLOPT_RESOLVER_START_DATA = 10273
|
|
607
|
+
CURLOPT_HAPROXYPROTOCOL = 274
|
|
608
|
+
CURLOPT_DNS_SHUFFLE_ADDRESSES = 275
|
|
609
|
+
CURLOPT_TLS13_CIPHERS = 10276
|
|
610
|
+
CURLOPT_PROXY_TLS13_CIPHERS = 10277
|
|
611
|
+
CURLOPT_DISALLOW_USERNAME_IN_URL = 278
|
|
612
|
+
CURLOPT_DOH_URL = 10279
|
|
613
|
+
CURLOPT_UPLOAD_BUFFERSIZE = 280
|
|
614
|
+
CURLOPT_UPKEEP_INTERVAL_MS = 281
|
|
615
|
+
CURLOPT_CURLU = 10282
|
|
616
|
+
CURLOPT_TRAILERFUNCTION = 20283
|
|
617
|
+
CURLOPT_TRAILERDATA = 10284
|
|
618
|
+
CURLOPT_HTTP09_ALLOWED = 285
|
|
619
|
+
CURLOPT_ALTSVC_CTRL = 286
|
|
620
|
+
CURLOPT_ALTSVC = 10287
|
|
621
|
+
CURLOPT_MAXAGE_CONN = 288
|
|
622
|
+
CURLOPT_SASL_AUTHZID = 10289
|
|
623
|
+
CURLOPT_MAIL_RCPT_ALLOWFAILS = 290
|
|
624
|
+
CURLOPT_SSLCERT_BLOB = 40291
|
|
625
|
+
CURLOPT_SSLKEY_BLOB = 40292
|
|
626
|
+
CURLOPT_PROXY_SSLCERT_BLOB = 40293
|
|
627
|
+
CURLOPT_PROXY_SSLKEY_BLOB = 40294
|
|
628
|
+
CURLOPT_ISSUERCERT_BLOB = 40295
|
|
629
|
+
CURLOPT_PROXY_ISSUERCERT = 10296
|
|
630
|
+
CURLOPT_PROXY_ISSUERCERT_BLOB = 40297
|
|
631
|
+
CURLOPT_SSL_EC_CURVES = 10298
|
|
632
|
+
CURLOPT_HSTS_CTRL = 299
|
|
633
|
+
CURLOPT_HSTS = 10300
|
|
634
|
+
CURLOPT_HSTSREADFUNCTION = 20301
|
|
635
|
+
CURLOPT_HSTSREADDATA = 10302
|
|
636
|
+
CURLOPT_HSTSWRITEFUNCTION = 20303
|
|
637
|
+
CURLOPT_HSTSWRITEDATA = 10304
|
|
638
|
+
CURLOPT_AWS_SIGV4 = 10305
|
|
639
|
+
CURLOPT_DOH_SSL_VERIFYPEER = 306
|
|
640
|
+
CURLOPT_DOH_SSL_VERIFYHOST = 307
|
|
641
|
+
CURLOPT_DOH_SSL_VERIFYSTATUS = 308
|
|
642
|
+
CURLOPT_CAINFO_BLOB = 40309
|
|
643
|
+
CURLOPT_PROXY_CAINFO_BLOB = 40310
|
|
644
|
+
CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 = 10311
|
|
645
|
+
CURLOPT_PREREQFUNCTION = 20312
|
|
646
|
+
CURLOPT_PREREQDATA = 10313
|
|
647
|
+
CURLOPT_MAXLIFETIME_CONN = 314
|
|
648
|
+
CURLOPT_MIME_OPTIONS = 315
|
|
649
|
+
CURLOPT_SSH_HOSTKEYFUNCTION = 20316
|
|
650
|
+
CURLOPT_SSH_HOSTKEYDATA = 10317
|
|
651
|
+
CURLOPT_PROTOCOLS_STR = 10318
|
|
652
|
+
CURLOPT_REDIR_PROTOCOLS_STR = 10319
|
|
653
|
+
CURLOPT_WS_OPTIONS = 320
|
|
654
|
+
CURLOPT_CA_CACHE_TIMEOUT = 321
|
|
655
|
+
CURLOPT_QUICK_EXIT = 322
|
|
656
|
+
CURLOPT_HAPROXY_CLIENT_IP = 10323
|
|
657
|
+
CURLOPT_SERVER_RESPONSE_TIMEOUT_MS = 324
|
|
658
|
+
CURLOPT_ECH = 10325
|
|
659
|
+
CURLOPT_TCP_KEEPCNT = 326
|
|
660
|
+
CURLOPT_UPLOAD_FLAGS = 327
|
|
661
|
+
CURLOPT_SSL_SIGNATURE_ALGORITHMS = 10328
|
|
662
|
+
CURLOPT_LASTENTRY = 10329
|
|
663
|
+
|
|
664
|
+
enum CURL_NETRC_OPTION: int
|
|
665
|
+
CURL_NETRC_LAST = 3
|
|
666
|
+
|
|
667
|
+
flags CURL_TLSAUTH: int
|
|
668
|
+
CURL_TLSAUTH_LAST = 2
|
|
669
|
+
flags curl_TimeCond: int
|
|
670
|
+
CURL_TIMECOND_LAST = 4
|
|
671
|
+
|
|
672
|
+
external function curl_strequal(s1: cstr, s2: cstr) -> int
|
|
673
|
+
external function curl_strnequal(s1: cstr, s2: cstr, n: ptr_uint) -> int
|
|
674
|
+
|
|
675
|
+
opaque curl_mime = c"curl_mime"
|
|
676
|
+
opaque curl_mimepart = c"curl_mimepart"
|
|
677
|
+
|
|
678
|
+
external function curl_mime_init(easy: ptr[CURL]) -> ptr[curl_mime]
|
|
679
|
+
external function curl_mime_free(mime: ptr[curl_mime]) -> void
|
|
680
|
+
external function curl_mime_addpart(mime: ptr[curl_mime]) -> ptr[curl_mimepart]
|
|
681
|
+
external function curl_mime_name(part: ptr[curl_mimepart], name: cstr) -> CURLcode
|
|
682
|
+
external function curl_mime_filename(part: ptr[curl_mimepart], filename: cstr) -> CURLcode
|
|
683
|
+
external function curl_mime_type(part: ptr[curl_mimepart], mimetype: cstr) -> CURLcode
|
|
684
|
+
external function curl_mime_encoder(part: ptr[curl_mimepart], encoding: cstr) -> CURLcode
|
|
685
|
+
external function curl_mime_data(part: ptr[curl_mimepart], data: cstr, datasize: ptr_uint) -> CURLcode
|
|
686
|
+
external function curl_mime_filedata(part: ptr[curl_mimepart], filename: cstr) -> CURLcode
|
|
687
|
+
external function curl_mime_data_cb(part: ptr[curl_mimepart], datasize: ptr_int, readfunc: fn(arg0: ptr[char], arg1: ptr_uint, arg2: ptr_uint, arg3: ptr[void]) -> ptr_uint, seekfunc: fn(arg0: ptr[void], arg1: curl_off_t, arg2: int) -> int, freefunc: fn(arg0: ptr[void]) -> void, arg: ptr[void]) -> CURLcode
|
|
688
|
+
external function curl_mime_subparts(part: ptr[curl_mimepart], subparts: ptr[curl_mime]) -> CURLcode
|
|
689
|
+
external function curl_mime_headers(part: ptr[curl_mimepart], headers: ptr[curl_slist], take_ownership: int) -> CURLcode
|
|
690
|
+
|
|
691
|
+
enum CURLformoption: int
|
|
692
|
+
CURLFORM_NOTHING = 0
|
|
693
|
+
CURLFORM_COPYNAME = 1
|
|
694
|
+
CURLFORM_PTRNAME = 2
|
|
695
|
+
CURLFORM_NAMELENGTH = 3
|
|
696
|
+
CURLFORM_COPYCONTENTS = 4
|
|
697
|
+
CURLFORM_PTRCONTENTS = 5
|
|
698
|
+
CURLFORM_CONTENTSLENGTH = 6
|
|
699
|
+
CURLFORM_FILECONTENT = 7
|
|
700
|
+
CURLFORM_ARRAY = 8
|
|
701
|
+
CURLFORM_OBSOLETE = 9
|
|
702
|
+
CURLFORM_FILE = 10
|
|
703
|
+
CURLFORM_BUFFER = 11
|
|
704
|
+
CURLFORM_BUFFERPTR = 12
|
|
705
|
+
CURLFORM_BUFFERLENGTH = 13
|
|
706
|
+
CURLFORM_CONTENTTYPE = 14
|
|
707
|
+
CURLFORM_CONTENTHEADER = 15
|
|
708
|
+
CURLFORM_FILENAME = 16
|
|
709
|
+
CURLFORM_END = 17
|
|
710
|
+
CURLFORM_OBSOLETE2 = 18
|
|
711
|
+
CURLFORM_STREAM = 19
|
|
712
|
+
CURLFORM_CONTENTLEN = 20
|
|
713
|
+
CURLFORM_LASTENTRY = 21
|
|
714
|
+
|
|
715
|
+
struct curl_forms = c"struct curl_forms":
|
|
716
|
+
option: CURLformoption
|
|
717
|
+
value: cstr
|
|
718
|
+
|
|
719
|
+
enum CURLFORMcode: int
|
|
720
|
+
CURL_FORMADD_OK = 0
|
|
721
|
+
CURL_FORMADD_MEMORY = 1
|
|
722
|
+
CURL_FORMADD_OPTION_TWICE = 2
|
|
723
|
+
CURL_FORMADD_NULL = 3
|
|
724
|
+
CURL_FORMADD_UNKNOWN_OPTION = 4
|
|
725
|
+
CURL_FORMADD_INCOMPLETE = 5
|
|
726
|
+
CURL_FORMADD_ILLEGAL_ARRAY = 6
|
|
727
|
+
CURL_FORMADD_DISABLED = 7
|
|
728
|
+
CURL_FORMADD_LAST = 8
|
|
729
|
+
|
|
730
|
+
external function curl_formadd(httppost: ptr[ptr[curl_httppost]], last_post: ptr[ptr[curl_httppost]], ...) -> CURLFORMcode
|
|
731
|
+
|
|
732
|
+
type curl_formget_callback = fn(arg0: ptr[void], arg1: cstr, arg2: ptr_uint) -> ptr_uint
|
|
733
|
+
|
|
734
|
+
external function curl_formget(form: ptr[curl_httppost], arg: ptr[void], append: fn(arg0: ptr[void], arg1: cstr, arg2: ptr_uint) -> ptr_uint) -> int
|
|
735
|
+
external function curl_formfree(form: ptr[curl_httppost]) -> void
|
|
736
|
+
external function curl_getenv(variable: cstr) -> ptr[char]
|
|
737
|
+
external function curl_version() -> ptr[char]
|
|
738
|
+
external function curl_easy_escape(curl: ptr[CURL], string: cstr, length: int) -> ptr[char]
|
|
739
|
+
external function curl_escape(string: cstr, length: int) -> ptr[char]
|
|
740
|
+
external function curl_easy_unescape(curl: ptr[CURL], string: cstr, inlength: int, outlength: ptr[int]) -> ptr[char]
|
|
741
|
+
external function curl_unescape(string: cstr, length: int) -> ptr[char]
|
|
742
|
+
external function curl_free(p: ptr[void]) -> void
|
|
743
|
+
external function curl_global_init(flags_: ptr_int) -> CURLcode
|
|
744
|
+
external function curl_global_init_mem(flags_: ptr_int, m: fn(arg0: ptr_uint) -> ptr[void], f: fn(arg0: ptr[void]) -> void, r: fn(arg0: ptr[void], arg1: ptr_uint) -> ptr[void], s: fn(arg0: cstr) -> ptr[char], c: fn(arg0: ptr_uint, arg1: ptr_uint) -> ptr[void]) -> CURLcode
|
|
745
|
+
external function curl_global_cleanup() -> void
|
|
746
|
+
external function curl_global_trace(config: cstr) -> CURLcode
|
|
747
|
+
|
|
748
|
+
struct curl_slist = c"struct curl_slist":
|
|
749
|
+
data: ptr[char]
|
|
750
|
+
next: ptr[curl_slist]
|
|
751
|
+
|
|
752
|
+
struct curl_ssl_backend:
|
|
753
|
+
id: curl_sslbackend
|
|
754
|
+
name: cstr
|
|
755
|
+
|
|
756
|
+
enum CURLsslset: int
|
|
757
|
+
CURLSSLSET_OK = 0
|
|
758
|
+
CURLSSLSET_UNKNOWN_BACKEND = 1
|
|
759
|
+
CURLSSLSET_TOO_LATE = 2
|
|
760
|
+
CURLSSLSET_NO_BACKENDS = 3
|
|
761
|
+
|
|
762
|
+
external function curl_global_sslset(id: curl_sslbackend, name: cstr, avail: ptr[ptr[const_ptr[curl_ssl_backend]]]) -> CURLsslset
|
|
763
|
+
external function curl_slist_append(list: ptr[curl_slist], data: cstr) -> ptr[curl_slist]
|
|
764
|
+
external function curl_slist_free_all(list: ptr[curl_slist]) -> void
|
|
765
|
+
|
|
766
|
+
struct curl_certinfo = c"struct curl_certinfo":
|
|
767
|
+
num_of_certs: int
|
|
768
|
+
certinfo: ptr[ptr[curl_slist]]
|
|
769
|
+
|
|
770
|
+
struct curl_tlssessioninfo = c"struct curl_tlssessioninfo":
|
|
771
|
+
backend: curl_sslbackend
|
|
772
|
+
internals: ptr[void]
|
|
773
|
+
|
|
774
|
+
enum CURLINFO: int
|
|
775
|
+
CURLINFO_NONE = 0
|
|
776
|
+
CURLINFO_EFFECTIVE_URL = 1048577
|
|
777
|
+
CURLINFO_RESPONSE_CODE = 2097154
|
|
778
|
+
CURLINFO_TOTAL_TIME = 3145731
|
|
779
|
+
CURLINFO_NAMELOOKUP_TIME = 3145732
|
|
780
|
+
CURLINFO_CONNECT_TIME = 3145733
|
|
781
|
+
CURLINFO_PRETRANSFER_TIME = 3145734
|
|
782
|
+
CURLINFO_SIZE_UPLOAD = 3145735
|
|
783
|
+
CURLINFO_SIZE_UPLOAD_T = 6291463
|
|
784
|
+
CURLINFO_SIZE_DOWNLOAD = 3145736
|
|
785
|
+
CURLINFO_SIZE_DOWNLOAD_T = 6291464
|
|
786
|
+
CURLINFO_SPEED_DOWNLOAD = 3145737
|
|
787
|
+
CURLINFO_SPEED_DOWNLOAD_T = 6291465
|
|
788
|
+
CURLINFO_SPEED_UPLOAD = 3145738
|
|
789
|
+
CURLINFO_SPEED_UPLOAD_T = 6291466
|
|
790
|
+
CURLINFO_HEADER_SIZE = 2097163
|
|
791
|
+
CURLINFO_REQUEST_SIZE = 2097164
|
|
792
|
+
CURLINFO_SSL_VERIFYRESULT = 2097165
|
|
793
|
+
CURLINFO_FILETIME = 2097166
|
|
794
|
+
CURLINFO_FILETIME_T = 6291470
|
|
795
|
+
CURLINFO_CONTENT_LENGTH_DOWNLOAD = 3145743
|
|
796
|
+
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T = 6291471
|
|
797
|
+
CURLINFO_CONTENT_LENGTH_UPLOAD = 3145744
|
|
798
|
+
CURLINFO_CONTENT_LENGTH_UPLOAD_T = 6291472
|
|
799
|
+
CURLINFO_STARTTRANSFER_TIME = 3145745
|
|
800
|
+
CURLINFO_CONTENT_TYPE = 1048594
|
|
801
|
+
CURLINFO_REDIRECT_TIME = 3145747
|
|
802
|
+
CURLINFO_REDIRECT_COUNT = 2097172
|
|
803
|
+
CURLINFO_PRIVATE = 1048597
|
|
804
|
+
CURLINFO_HTTP_CONNECTCODE = 2097174
|
|
805
|
+
CURLINFO_HTTPAUTH_AVAIL = 2097175
|
|
806
|
+
CURLINFO_PROXYAUTH_AVAIL = 2097176
|
|
807
|
+
CURLINFO_OS_ERRNO = 2097177
|
|
808
|
+
CURLINFO_NUM_CONNECTS = 2097178
|
|
809
|
+
CURLINFO_SSL_ENGINES = 4194331
|
|
810
|
+
CURLINFO_COOKIELIST = 4194332
|
|
811
|
+
CURLINFO_LASTSOCKET = 2097181
|
|
812
|
+
CURLINFO_FTP_ENTRY_PATH = 1048606
|
|
813
|
+
CURLINFO_REDIRECT_URL = 1048607
|
|
814
|
+
CURLINFO_PRIMARY_IP = 1048608
|
|
815
|
+
CURLINFO_APPCONNECT_TIME = 3145761
|
|
816
|
+
CURLINFO_CERTINFO = 4194338
|
|
817
|
+
CURLINFO_CONDITION_UNMET = 2097187
|
|
818
|
+
CURLINFO_RTSP_SESSION_ID = 1048612
|
|
819
|
+
CURLINFO_RTSP_CLIENT_CSEQ = 2097189
|
|
820
|
+
CURLINFO_RTSP_SERVER_CSEQ = 2097190
|
|
821
|
+
CURLINFO_RTSP_CSEQ_RECV = 2097191
|
|
822
|
+
CURLINFO_PRIMARY_PORT = 2097192
|
|
823
|
+
CURLINFO_LOCAL_IP = 1048617
|
|
824
|
+
CURLINFO_LOCAL_PORT = 2097194
|
|
825
|
+
CURLINFO_TLS_SESSION = 4194347
|
|
826
|
+
CURLINFO_ACTIVESOCKET = 5242924
|
|
827
|
+
CURLINFO_TLS_SSL_PTR = 4194349
|
|
828
|
+
CURLINFO_HTTP_VERSION = 2097198
|
|
829
|
+
CURLINFO_PROXY_SSL_VERIFYRESULT = 2097199
|
|
830
|
+
CURLINFO_PROTOCOL = 2097200
|
|
831
|
+
CURLINFO_SCHEME = 1048625
|
|
832
|
+
CURLINFO_TOTAL_TIME_T = 6291506
|
|
833
|
+
CURLINFO_NAMELOOKUP_TIME_T = 6291507
|
|
834
|
+
CURLINFO_CONNECT_TIME_T = 6291508
|
|
835
|
+
CURLINFO_PRETRANSFER_TIME_T = 6291509
|
|
836
|
+
CURLINFO_STARTTRANSFER_TIME_T = 6291510
|
|
837
|
+
CURLINFO_REDIRECT_TIME_T = 6291511
|
|
838
|
+
CURLINFO_APPCONNECT_TIME_T = 6291512
|
|
839
|
+
CURLINFO_RETRY_AFTER = 6291513
|
|
840
|
+
CURLINFO_EFFECTIVE_METHOD = 1048634
|
|
841
|
+
CURLINFO_PROXY_ERROR = 2097211
|
|
842
|
+
CURLINFO_REFERER = 1048636
|
|
843
|
+
CURLINFO_CAINFO = 1048637
|
|
844
|
+
CURLINFO_CAPATH = 1048638
|
|
845
|
+
CURLINFO_XFER_ID = 6291519
|
|
846
|
+
CURLINFO_CONN_ID = 6291520
|
|
847
|
+
CURLINFO_QUEUE_TIME_T = 6291521
|
|
848
|
+
CURLINFO_USED_PROXY = 2097218
|
|
849
|
+
CURLINFO_POSTTRANSFER_TIME_T = 6291523
|
|
850
|
+
CURLINFO_EARLYDATA_SENT_T = 6291524
|
|
851
|
+
CURLINFO_HTTPAUTH_USED = 2097221
|
|
852
|
+
CURLINFO_PROXYAUTH_USED = 2097222
|
|
853
|
+
CURLINFO_SIZE_DELIVERED = 6291527
|
|
854
|
+
CURLINFO_LASTONE = 71
|
|
855
|
+
|
|
856
|
+
enum curl_closepolicy: int
|
|
857
|
+
CURLCLOSEPOLICY_NONE = 0
|
|
858
|
+
CURLCLOSEPOLICY_OLDEST = 1
|
|
859
|
+
CURLCLOSEPOLICY_LEAST_RECENTLY_USED = 2
|
|
860
|
+
CURLCLOSEPOLICY_LEAST_TRAFFIC = 3
|
|
861
|
+
CURLCLOSEPOLICY_SLOWEST = 4
|
|
862
|
+
CURLCLOSEPOLICY_CALLBACK = 5
|
|
863
|
+
CURLCLOSEPOLICY_LAST = 6
|
|
864
|
+
|
|
865
|
+
enum curl_lock_data: int
|
|
866
|
+
CURL_LOCK_DATA_NONE = 0
|
|
867
|
+
CURL_LOCK_DATA_SHARE = 1
|
|
868
|
+
CURL_LOCK_DATA_COOKIE = 2
|
|
869
|
+
CURL_LOCK_DATA_DNS = 3
|
|
870
|
+
CURL_LOCK_DATA_SSL_SESSION = 4
|
|
871
|
+
CURL_LOCK_DATA_CONNECT = 5
|
|
872
|
+
CURL_LOCK_DATA_PSL = 6
|
|
873
|
+
CURL_LOCK_DATA_HSTS = 7
|
|
874
|
+
CURL_LOCK_DATA_LAST = 8
|
|
875
|
+
|
|
876
|
+
enum curl_lock_access: int
|
|
877
|
+
CURL_LOCK_ACCESS_NONE = 0
|
|
878
|
+
CURL_LOCK_ACCESS_SHARED = 1
|
|
879
|
+
CURL_LOCK_ACCESS_SINGLE = 2
|
|
880
|
+
CURL_LOCK_ACCESS_LAST = 3
|
|
881
|
+
|
|
882
|
+
type curl_lock_function = fn(arg0: ptr[CURL], arg1: curl_lock_data, arg2: curl_lock_access, arg3: ptr[void]) -> void
|
|
883
|
+
type curl_unlock_function = fn(arg0: ptr[CURL], arg1: curl_lock_data, arg2: ptr[void]) -> void
|
|
884
|
+
|
|
885
|
+
enum CURLSHcode: int
|
|
886
|
+
CURLSHE_OK = 0
|
|
887
|
+
CURLSHE_BAD_OPTION = 1
|
|
888
|
+
CURLSHE_IN_USE = 2
|
|
889
|
+
CURLSHE_INVALID = 3
|
|
890
|
+
CURLSHE_NOMEM = 4
|
|
891
|
+
CURLSHE_NOT_BUILT_IN = 5
|
|
892
|
+
CURLSHE_LAST = 6
|
|
893
|
+
|
|
894
|
+
enum CURLSHoption: int
|
|
895
|
+
CURLSHOPT_NONE = 0
|
|
896
|
+
CURLSHOPT_SHARE = 1
|
|
897
|
+
CURLSHOPT_UNSHARE = 2
|
|
898
|
+
CURLSHOPT_LOCKFUNC = 3
|
|
899
|
+
CURLSHOPT_UNLOCKFUNC = 4
|
|
900
|
+
CURLSHOPT_USERDATA = 5
|
|
901
|
+
CURLSHOPT_LAST = 6
|
|
902
|
+
|
|
903
|
+
external function curl_share_init() -> ptr[CURLSH]
|
|
904
|
+
external function curl_share_setopt(sh: ptr[CURLSH], option: CURLSHoption, ...) -> CURLSHcode
|
|
905
|
+
external function curl_share_cleanup(sh: ptr[CURLSH]) -> CURLSHcode
|
|
906
|
+
|
|
907
|
+
enum CURLversion: int
|
|
908
|
+
CURLVERSION_FIRST = 0
|
|
909
|
+
CURLVERSION_SECOND = 1
|
|
910
|
+
CURLVERSION_THIRD = 2
|
|
911
|
+
CURLVERSION_FOURTH = 3
|
|
912
|
+
CURLVERSION_FIFTH = 4
|
|
913
|
+
CURLVERSION_SIXTH = 5
|
|
914
|
+
CURLVERSION_SEVENTH = 6
|
|
915
|
+
CURLVERSION_EIGHTH = 7
|
|
916
|
+
CURLVERSION_NINTH = 8
|
|
917
|
+
CURLVERSION_TENTH = 9
|
|
918
|
+
CURLVERSION_ELEVENTH = 10
|
|
919
|
+
CURLVERSION_TWELFTH = 11
|
|
920
|
+
CURLVERSION_LAST = 12
|
|
921
|
+
|
|
922
|
+
struct curl_version_info_data:
|
|
923
|
+
age: CURLversion
|
|
924
|
+
version: cstr
|
|
925
|
+
version_num: uint
|
|
926
|
+
host: cstr
|
|
927
|
+
features: int
|
|
928
|
+
ssl_version: cstr
|
|
929
|
+
ssl_version_num: ptr_int
|
|
930
|
+
libz_version: cstr
|
|
931
|
+
protocols: const_ptr[cstr]
|
|
932
|
+
ares: cstr
|
|
933
|
+
ares_num: int
|
|
934
|
+
libidn: cstr
|
|
935
|
+
iconv_ver_num: int
|
|
936
|
+
libssh_version: cstr
|
|
937
|
+
brotli_ver_num: uint
|
|
938
|
+
brotli_version: cstr
|
|
939
|
+
nghttp2_ver_num: uint
|
|
940
|
+
nghttp2_version: cstr
|
|
941
|
+
quic_version: cstr
|
|
942
|
+
cainfo: cstr
|
|
943
|
+
capath: cstr
|
|
944
|
+
zstd_ver_num: uint
|
|
945
|
+
zstd_version: cstr
|
|
946
|
+
hyper_version: cstr
|
|
947
|
+
gsasl_version: cstr
|
|
948
|
+
feature_names: const_ptr[cstr]
|
|
949
|
+
rtmp_version: cstr
|
|
950
|
+
|
|
951
|
+
external function curl_version_info(stamp: CURLversion) -> ptr[curl_version_info_data]
|
|
952
|
+
external function curl_easy_strerror(error: CURLcode) -> cstr
|
|
953
|
+
external function curl_share_strerror(error: CURLSHcode) -> cstr
|
|
954
|
+
external function curl_easy_pause(curl: ptr[CURL], action: int) -> CURLcode
|
|
955
|
+
external function curl_easy_ssls_import(curl: ptr[CURL], session_key: cstr, shmac: const_ptr[ubyte], shmac_len: ptr_uint, sdata: const_ptr[ubyte], sdata_len: ptr_uint) -> CURLcode
|
|
956
|
+
|
|
957
|
+
type curl_ssls_export_cb = fn(arg0: ptr[CURL], arg1: ptr[void], arg2: cstr, arg3: const_ptr[ubyte], arg4: ptr_uint, arg5: const_ptr[ubyte], arg6: ptr_uint, arg7: curl_off_t, arg8: int, arg9: cstr, arg10: ptr_uint) -> CURLcode
|
|
958
|
+
|
|
959
|
+
external function curl_easy_ssls_export(curl: ptr[CURL], export_fn: ptr[curl_ssls_export_cb], userptr: ptr[void]) -> CURLcode
|
|
960
|
+
external function curl_easy_init() -> ptr[CURL]
|
|
961
|
+
external function curl_easy_setopt(curl: ptr[CURL], option: CURLoption, ...) -> CURLcode
|
|
962
|
+
external function curl_easy_perform(curl: ptr[CURL]) -> CURLcode
|
|
963
|
+
external function curl_easy_cleanup(curl: ptr[CURL]) -> void
|
|
964
|
+
external function curl_easy_getinfo(curl: ptr[CURL], info: CURLINFO, ...) -> CURLcode
|
|
965
|
+
external function curl_easy_duphandle(curl: ptr[CURL]) -> ptr[CURL]
|
|
966
|
+
external function curl_easy_reset(curl: ptr[CURL]) -> void
|
|
967
|
+
external function curl_easy_recv(curl: ptr[CURL], buffer: ptr[void], buflen: ptr_uint, n: ptr[ptr_uint]) -> CURLcode
|
|
968
|
+
external function curl_easy_send(curl: ptr[CURL], buffer: const_ptr[void], buflen: ptr_uint, n: ptr[ptr_uint]) -> CURLcode
|
|
969
|
+
external function curl_easy_upkeep(curl: ptr[CURL]) -> CURLcode
|
|
970
|
+
|
|
971
|
+
enum CURLMcode: int
|
|
972
|
+
CURLM_CALL_MULTI_PERFORM = -1
|
|
973
|
+
CURLM_OK = 0
|
|
974
|
+
CURLM_BAD_HANDLE = 1
|
|
975
|
+
CURLM_BAD_EASY_HANDLE = 2
|
|
976
|
+
CURLM_OUT_OF_MEMORY = 3
|
|
977
|
+
CURLM_INTERNAL_ERROR = 4
|
|
978
|
+
CURLM_BAD_SOCKET = 5
|
|
979
|
+
CURLM_UNKNOWN_OPTION = 6
|
|
980
|
+
CURLM_ADDED_ALREADY = 7
|
|
981
|
+
CURLM_RECURSIVE_API_CALL = 8
|
|
982
|
+
CURLM_WAKEUP_FAILURE = 9
|
|
983
|
+
CURLM_BAD_FUNCTION_ARGUMENT = 10
|
|
984
|
+
CURLM_ABORTED_BY_CALLBACK = 11
|
|
985
|
+
CURLM_UNRECOVERABLE_POLL = 12
|
|
986
|
+
CURLM_LAST = 13
|
|
987
|
+
|
|
988
|
+
flags CURLMSG: int
|
|
989
|
+
CURLMSG_NONE = 0
|
|
990
|
+
CURLMSG_DONE = 1
|
|
991
|
+
CURLMSG_LAST = 2
|
|
992
|
+
|
|
993
|
+
struct CURLMsg:
|
|
994
|
+
msg: CURLMSG
|
|
995
|
+
easy_handle: ptr[CURL]
|
|
996
|
+
data: CURLMsg_data
|
|
997
|
+
|
|
998
|
+
struct curl_waitfd = c"struct curl_waitfd":
|
|
999
|
+
fd: int
|
|
1000
|
+
events: short
|
|
1001
|
+
revents: short
|
|
1002
|
+
|
|
1003
|
+
external function curl_multi_strerror(error: CURLMcode) -> cstr
|
|
1004
|
+
|
|
1005
|
+
type curl_socket_callback = fn(arg0: ptr[CURL], arg1: curl_socket_t, arg2: int, arg3: ptr[void], arg4: ptr[void]) -> int
|
|
1006
|
+
|
|
1007
|
+
enum CURLMoption: int
|
|
1008
|
+
CURLMOPT_SOCKETFUNCTION = 20001
|
|
1009
|
+
CURLMOPT_SOCKETDATA = 10002
|
|
1010
|
+
CURLMOPT_PIPELINING = 3
|
|
1011
|
+
CURLMOPT_TIMERFUNCTION = 20004
|
|
1012
|
+
CURLMOPT_TIMERDATA = 10005
|
|
1013
|
+
CURLMOPT_MAXCONNECTS = 6
|
|
1014
|
+
CURLMOPT_MAX_HOST_CONNECTIONS = 7
|
|
1015
|
+
CURLMOPT_MAX_PIPELINE_LENGTH = 8
|
|
1016
|
+
CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE = 30009
|
|
1017
|
+
CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE = 30010
|
|
1018
|
+
CURLMOPT_PIPELINING_SITE_BL = 10011
|
|
1019
|
+
CURLMOPT_PIPELINING_SERVER_BL = 10012
|
|
1020
|
+
CURLMOPT_MAX_TOTAL_CONNECTIONS = 13
|
|
1021
|
+
CURLMOPT_PUSHFUNCTION = 20014
|
|
1022
|
+
CURLMOPT_PUSHDATA = 10015
|
|
1023
|
+
CURLMOPT_MAX_CONCURRENT_STREAMS = 16
|
|
1024
|
+
CURLMOPT_NETWORK_CHANGED = 17
|
|
1025
|
+
CURLMOPT_NOTIFYFUNCTION = 20018
|
|
1026
|
+
CURLMOPT_NOTIFYDATA = 10019
|
|
1027
|
+
CURLMOPT_RESOLVE_THREADS_MAX = 20
|
|
1028
|
+
CURLMOPT_QUICK_EXIT = 21
|
|
1029
|
+
CURLMOPT_LASTENTRY = 22
|
|
1030
|
+
|
|
1031
|
+
enum CURLMinfo_offt: int
|
|
1032
|
+
CURLMINFO_NONE = 0
|
|
1033
|
+
CURLMINFO_XFERS_CURRENT = 1
|
|
1034
|
+
CURLMINFO_XFERS_RUNNING = 2
|
|
1035
|
+
CURLMINFO_XFERS_PENDING = 3
|
|
1036
|
+
CURLMINFO_XFERS_DONE = 4
|
|
1037
|
+
CURLMINFO_XFERS_ADDED = 5
|
|
1038
|
+
CURLMINFO_LASTENTRY = 6
|
|
1039
|
+
|
|
1040
|
+
opaque curl_pushheaders = c"struct curl_pushheaders"
|
|
1041
|
+
|
|
1042
|
+
external function curl_pushheader_bynum(h: ptr[curl_pushheaders], num: ptr_uint) -> ptr[char]
|
|
1043
|
+
external function curl_pushheader_byname(h: ptr[curl_pushheaders], name: cstr) -> ptr[char]
|
|
1044
|
+
|
|
1045
|
+
type curl_push_callback = fn(arg0: ptr[CURL], arg1: ptr[CURL], arg2: ptr_uint, arg3: ptr[curl_pushheaders], arg4: ptr[void]) -> int
|
|
1046
|
+
|
|
1047
|
+
enum CURLUPart: int
|
|
1048
|
+
CURLUPART_URL = 0
|
|
1049
|
+
CURLUPART_SCHEME = 1
|
|
1050
|
+
CURLUPART_USER = 2
|
|
1051
|
+
CURLUPART_PASSWORD = 3
|
|
1052
|
+
CURLUPART_OPTIONS = 4
|
|
1053
|
+
CURLUPART_HOST = 5
|
|
1054
|
+
CURLUPART_PORT = 6
|
|
1055
|
+
CURLUPART_PATH = 7
|
|
1056
|
+
CURLUPART_QUERY = 8
|
|
1057
|
+
CURLUPART_FRAGMENT = 9
|
|
1058
|
+
CURLUPART_ZONEID = 10
|
|
1059
|
+
|
|
1060
|
+
opaque CURLU = c"CURLU"
|
|
1061
|
+
|
|
1062
|
+
external function curl_url() -> ptr[CURLU]
|
|
1063
|
+
external function curl_url_cleanup(u: ptr[CURLU]) -> void
|
|
1064
|
+
external function curl_url_dup(in_: const_ptr[CURLU]) -> ptr[CURLU]
|
|
1065
|
+
external function curl_url_get(u: const_ptr[CURLU], what: CURLUPart, part: ptr[ptr[char]], flags_: uint) -> int
|
|
1066
|
+
external function curl_url_set(u: ptr[CURLU], what: CURLUPart, part: cstr, flags_: uint) -> int
|
|
1067
|
+
external function curl_url_strerror(error: int) -> cstr
|
|
1068
|
+
|
|
1069
|
+
struct curl_easyoption = c"struct curl_easyoption":
|
|
1070
|
+
name: cstr
|
|
1071
|
+
id: CURLoption
|
|
1072
|
+
type_: int
|
|
1073
|
+
flags_: uint
|
|
1074
|
+
|
|
1075
|
+
external function curl_easy_option_by_name(name: cstr) -> const_ptr[curl_easyoption]
|
|
1076
|
+
external function curl_easy_option_by_id(id: CURLoption) -> const_ptr[curl_easyoption]
|
|
1077
|
+
external function curl_easy_option_next(prev: const_ptr[curl_easyoption]) -> const_ptr[curl_easyoption]
|
|
1078
|
+
|
|
1079
|
+
enum CURLHcode: int
|
|
1080
|
+
CURLHE_OK = 0
|
|
1081
|
+
CURLHE_BADINDEX = 1
|
|
1082
|
+
CURLHE_MISSING = 2
|
|
1083
|
+
CURLHE_NOHEADERS = 3
|
|
1084
|
+
CURLHE_NOREQUEST = 4
|
|
1085
|
+
CURLHE_OUT_OF_MEMORY = 5
|
|
1086
|
+
CURLHE_BAD_ARGUMENT = 6
|
|
1087
|
+
CURLHE_NOT_BUILT_IN = 7
|
|
1088
|
+
|
|
1089
|
+
external function curl_easy_header(curl: ptr[CURL], name: cstr, nameindex: ptr_uint, origin: uint, request: int, hout: ptr[ptr[curl_header]]) -> CURLHcode
|
|
1090
|
+
external function curl_easy_nextheader(curl: ptr[CURL], origin: uint, request: int, prev: ptr[curl_header]) -> ptr[curl_header]
|
|
1091
|
+
external function curl_ws_recv(curl: ptr[CURL], buffer: ptr[void], buflen: ptr_uint, recv: ptr[ptr_uint], metap: ptr[const_ptr[curl_ws_frame]]) -> CURLcode
|
|
1092
|
+
external function curl_ws_send(curl: ptr[CURL], buffer_arg: const_ptr[void], buflen: ptr_uint, sent: ptr[ptr_uint], fragsize: ptr_int, flags_: uint) -> CURLcode
|
|
1093
|
+
external function curl_ws_start_frame(curl: ptr[CURL], flags_: uint, frame_len: ptr_int) -> CURLcode
|
|
1094
|
+
external function curl_ws_meta(curl: ptr[CURL]) -> const_ptr[curl_ws_frame]
|
|
1095
|
+
external function curl_msprintf(buffer: ptr[char], format: cstr, ...) -> int
|
|
1096
|
+
external function curl_msnprintf(buffer: ptr[char], maxlength: ptr_uint, format: cstr, ...) -> int
|
|
1097
|
+
external function curl_mvprintf(format: cstr, args: va_list) -> int
|
|
1098
|
+
external function curl_mvsprintf(buffer: ptr[char], format: cstr, args: va_list) -> int
|
|
1099
|
+
external function curl_mvsnprintf(buffer: ptr[char], maxlength: ptr_uint, format: cstr, args: va_list) -> int
|
|
1100
|
+
external function curl_maprintf(format: cstr, ...) -> ptr[char]
|
|
1101
|
+
external function curl_mvaprintf(format: cstr, args: va_list) -> ptr[char]
|
|
1102
|
+
|
|
1103
|
+
const CURL_SOCKET_BAD: int = -1
|
|
1104
|
+
const CURLFOLLOW_ALL: ptr_int = 1
|
|
1105
|
+
const CURLFOLLOW_OBEYCODE: ptr_int = 2
|
|
1106
|
+
const CURLFOLLOW_FIRSTONLY: ptr_int = 3
|
|
1107
|
+
const CURL_PROGRESSFUNC_CONTINUE: int = 268435457
|
|
1108
|
+
const CURL_MAX_WRITE_SIZE: int = 16384
|
|
1109
|
+
const CURL_WRITEFUNC_PAUSE: int = 268435457
|
|
1110
|
+
const CURL_WRITEFUNC_ERROR: uint = 4294967295
|
|
1111
|
+
const CURL_CHUNK_BGN_FUNC_OK: int = 0
|
|
1112
|
+
const CURL_CHUNK_BGN_FUNC_FAIL: int = 1
|
|
1113
|
+
const CURL_CHUNK_BGN_FUNC_SKIP: int = 2
|
|
1114
|
+
const CURL_CHUNK_END_FUNC_OK: int = 0
|
|
1115
|
+
const CURL_CHUNK_END_FUNC_FAIL: int = 1
|
|
1116
|
+
const CURL_FNMATCHFUNC_MATCH: int = 0
|
|
1117
|
+
const CURL_FNMATCHFUNC_NOMATCH: int = 1
|
|
1118
|
+
const CURL_FNMATCHFUNC_FAIL: int = 2
|
|
1119
|
+
const CURL_SEEKFUNC_OK: int = 0
|
|
1120
|
+
const CURL_SEEKFUNC_FAIL: int = 1
|
|
1121
|
+
const CURL_SEEKFUNC_CANTSEEK: int = 2
|
|
1122
|
+
const CURL_READFUNC_ABORT: int = 268435456
|
|
1123
|
+
const CURL_READFUNC_PAUSE: int = 268435457
|
|
1124
|
+
const CURL_TRAILERFUNC_OK: int = 0
|
|
1125
|
+
const CURL_TRAILERFUNC_ABORT: int = 1
|
|
1126
|
+
const CURL_SOCKOPT_OK: int = 0
|
|
1127
|
+
const CURL_SOCKOPT_ERROR: int = 1
|
|
1128
|
+
const CURL_SOCKOPT_ALREADY_CONNECTED: int = 2
|
|
1129
|
+
const CURL_PREREQFUNC_OK: int = 0
|
|
1130
|
+
const CURL_PREREQFUNC_ABORT: int = 1
|
|
1131
|
+
const CURLE_ALREADY_COMPLETE: int = 99999
|
|
1132
|
+
const CURLOPT_OBSOLETE72: int = 9999
|
|
1133
|
+
const CURLOPT_OBSOLETE40: int = 9999
|
|
1134
|
+
const CURLPROXY_HTTP: ptr_int = 0
|
|
1135
|
+
const CURLPROXY_HTTP_1_0: ptr_int = 1
|
|
1136
|
+
const CURLPROXY_HTTPS: ptr_int = 2
|
|
1137
|
+
const CURLPROXY_HTTPS2: ptr_int = 3
|
|
1138
|
+
const CURLPROXY_SOCKS4: ptr_int = 4
|
|
1139
|
+
const CURLPROXY_SOCKS5: ptr_int = 5
|
|
1140
|
+
const CURLPROXY_SOCKS4A: ptr_int = 6
|
|
1141
|
+
const CURLPROXY_SOCKS5_HOSTNAME: ptr_int = 7
|
|
1142
|
+
const CURLPROXY_HTTPS3: ptr_int = 8
|
|
1143
|
+
const CURLSSH_AUTH_NONE: ptr_int = 0
|
|
1144
|
+
const CURLGSSAPI_DELEGATION_NONE: ptr_int = 0
|
|
1145
|
+
const CURL_ERROR_SIZE: int = 256
|
|
1146
|
+
const CURLUSESSL_NONE: ptr_int = 0
|
|
1147
|
+
const CURLUSESSL_TRY: ptr_int = 1
|
|
1148
|
+
const CURLUSESSL_CONTROL: ptr_int = 2
|
|
1149
|
+
const CURLUSESSL_ALL: ptr_int = 3
|
|
1150
|
+
const CURL_HET_DEFAULT: ptr_int = 200
|
|
1151
|
+
const CURL_UPKEEP_INTERVAL_DEFAULT: ptr_int = 60000
|
|
1152
|
+
const CURLFTPSSL_CCC_NONE: ptr_int = 0
|
|
1153
|
+
const CURLFTPSSL_CCC_PASSIVE: ptr_int = 1
|
|
1154
|
+
const CURLFTPSSL_CCC_ACTIVE: ptr_int = 2
|
|
1155
|
+
const CURLFTPAUTH_DEFAULT: ptr_int = 0
|
|
1156
|
+
const CURLFTPAUTH_SSL: ptr_int = 1
|
|
1157
|
+
const CURLFTPAUTH_TLS: ptr_int = 2
|
|
1158
|
+
const CURLFTP_CREATE_DIR_NONE: ptr_int = 0
|
|
1159
|
+
const CURLFTP_CREATE_DIR: ptr_int = 1
|
|
1160
|
+
const CURLFTP_CREATE_DIR_RETRY: ptr_int = 2
|
|
1161
|
+
const CURLFTPMETHOD_DEFAULT: ptr_int = 0
|
|
1162
|
+
const CURLFTPMETHOD_MULTICWD: ptr_int = 1
|
|
1163
|
+
const CURLFTPMETHOD_NOCWD: ptr_int = 2
|
|
1164
|
+
const CURLFTPMETHOD_SINGLECWD: ptr_int = 3
|
|
1165
|
+
const CURLHEADER_UNIFIED: ptr_int = 0
|
|
1166
|
+
const CURLOPTTYPE_LONG: int = 0
|
|
1167
|
+
const CURLOPTTYPE_OBJECTPOINT: int = 10000
|
|
1168
|
+
const CURLOPTTYPE_FUNCTIONPOINT: int = 20000
|
|
1169
|
+
const CURLOPTTYPE_OFF_T: int = 30000
|
|
1170
|
+
const CURLOPTTYPE_BLOB: int = 40000
|
|
1171
|
+
const CURL_IPRESOLVE_WHATEVER: ptr_int = 0
|
|
1172
|
+
const CURL_IPRESOLVE_V4: ptr_int = 1
|
|
1173
|
+
const CURL_IPRESOLVE_V6: ptr_int = 2
|
|
1174
|
+
const CURL_HTTP_VERSION_NONE: ptr_int = 0
|
|
1175
|
+
const CURL_HTTP_VERSION_1_0: ptr_int = 1
|
|
1176
|
+
const CURL_HTTP_VERSION_1_1: ptr_int = 2
|
|
1177
|
+
const CURL_HTTP_VERSION_2_0: ptr_int = 3
|
|
1178
|
+
const CURL_HTTP_VERSION_2TLS: ptr_int = 4
|
|
1179
|
+
const CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE: ptr_int = 5
|
|
1180
|
+
const CURL_HTTP_VERSION_3: ptr_int = 30
|
|
1181
|
+
const CURL_HTTP_VERSION_3ONLY: ptr_int = 31
|
|
1182
|
+
const CURL_HTTP_VERSION_LAST: ptr_int = 32
|
|
1183
|
+
const CURL_RTSPREQ_NONE: ptr_int = 0
|
|
1184
|
+
const CURL_RTSPREQ_OPTIONS: ptr_int = 1
|
|
1185
|
+
const CURL_RTSPREQ_DESCRIBE: ptr_int = 2
|
|
1186
|
+
const CURL_RTSPREQ_ANNOUNCE: ptr_int = 3
|
|
1187
|
+
const CURL_RTSPREQ_SETUP: ptr_int = 4
|
|
1188
|
+
const CURL_RTSPREQ_PLAY: ptr_int = 5
|
|
1189
|
+
const CURL_RTSPREQ_PAUSE: ptr_int = 6
|
|
1190
|
+
const CURL_RTSPREQ_TEARDOWN: ptr_int = 7
|
|
1191
|
+
const CURL_RTSPREQ_GET_PARAMETER: ptr_int = 8
|
|
1192
|
+
const CURL_RTSPREQ_SET_PARAMETER: ptr_int = 9
|
|
1193
|
+
const CURL_RTSPREQ_RECORD: ptr_int = 10
|
|
1194
|
+
const CURL_RTSPREQ_RECEIVE: ptr_int = 11
|
|
1195
|
+
const CURL_RTSPREQ_LAST: ptr_int = 12
|
|
1196
|
+
const CURL_NETRC_IGNORED: ptr_int = 0
|
|
1197
|
+
const CURL_NETRC_OPTIONAL: ptr_int = 1
|
|
1198
|
+
const CURL_NETRC_REQUIRED: ptr_int = 2
|
|
1199
|
+
const CURL_SSLVERSION_DEFAULT: ptr_int = 0
|
|
1200
|
+
const CURL_SSLVERSION_LAST: ptr_int = 8
|
|
1201
|
+
const CURL_SSLVERSION_MAX_NONE: ptr_int = 0
|
|
1202
|
+
const CURL_TLSAUTH_NONE: ptr_int = 0
|
|
1203
|
+
const CURL_TLSAUTH_SRP: ptr_int = 1
|
|
1204
|
+
const CURL_REDIR_GET_ALL: ptr_int = 0
|
|
1205
|
+
const CURL_REDIR_POST_301: ptr_int = 1
|
|
1206
|
+
const CURL_REDIR_POST_302: ptr_int = 2
|
|
1207
|
+
const CURL_REDIR_POST_303: ptr_int = 4
|
|
1208
|
+
const CURL_TIMECOND_NONE: ptr_int = 0
|
|
1209
|
+
const CURL_TIMECOND_IFMODSINCE: ptr_int = 1
|
|
1210
|
+
const CURL_TIMECOND_IFUNMODSINCE: ptr_int = 2
|
|
1211
|
+
const CURL_TIMECOND_LASTMOD: ptr_int = 3
|
|
1212
|
+
const CURLINFO_STRING: int = 1048576
|
|
1213
|
+
const CURLINFO_LONG: int = 2097152
|
|
1214
|
+
const CURLINFO_DOUBLE: int = 3145728
|
|
1215
|
+
const CURLINFO_SLIST: int = 4194304
|
|
1216
|
+
const CURLINFO_PTR: int = 4194304
|
|
1217
|
+
const CURLINFO_SOCKET: int = 5242880
|
|
1218
|
+
const CURLINFO_OFF_T: int = 6291456
|
|
1219
|
+
const CURLINFO_MASK: int = 1048575
|
|
1220
|
+
const CURLINFO_TYPEMASK: int = 15728640
|
|
1221
|
+
const CURL_GLOBAL_NOTHING: int = 0
|
|
1222
|
+
const CURLPAUSE_RECV_CONT: int = 0
|
|
1223
|
+
const CURLPAUSE_SEND_CONT: int = 0
|