177
179
"CURLOPT_NEW_FILE_PERMS", "CURLOPT_NEW_DIRECTORY_PERMS",
178
180
"CURLOPT_KEYPASSWD", "CURLOPT_APPEND", "CURLOPT_DIRLISTONLY",
179
181
"CURLOPT_USE_SSL", "CURLOPT_POST301", "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5",
182
"CURLOPT_PROXY_TRANSFER_MODE", "CURLOPT_CRLFILE",
183
"CURLOPT_ISSUERCERT", "CURLOPT_ADDRESS_SCOPE",
183
static CONST char *configTable[] = {
187
CONST static char *configTable[] = {
184
188
"-url", "-file", "-infile",
185
189
"-useragent", "-referer", "-verbose",
186
190
"-header", "-nobody", "-proxy",
230
234
"-transferdecoding", "-krblevel", "-newfileperms",
231
235
"-newdirectoryperms", "-keypasswd", "-append",
232
236
"-dirlistonly", "-usessl", "-post301",
233
"-sshhostpublickeymd5",
237
"-sshhostpublickeymd5", "-proxytransfermode",
238
"-crlfile", "-issuercert", "-addressscope",
237
static CONST char *timeCond[] = {
242
CONST static char *timeCond[] = {
238
243
"ifmodsince", "ifunmodsince",
242
static CONST char *getInfoTable[]={
247
CONST static char *getInfoTable[]={
243
248
"effectiveurl", "httpcode", "responsecode",
244
249
"filetime", "totaltime", "namelookuptime",
245
250
"connecttime", "pretransfertime","sizeupload",
250
255
"redirecttime", "redirectcount", "httpauthavail",
251
256
"proxyauthavail", "oserrno", "numconnects",
252
257
"sslengines", "httpconnectcode","cookielist",
258
"ftpentrypath", "redirecturl", "primaryip",
257
static CONST char *curlFormTable[]={
263
CONST static char *curlFormTable[]={
258
264
"name", "contents", "file", "contenttype", "contentheader", "filename",
259
265
"bufferName", "buffer", "filecontent", (char *)NULL
262
static CONST char *httpVersionTable[] = {
268
CONST static char *httpVersionTable[] = {
263
269
"none", "1.0", "1.1", (char *)NULL
266
static CONST char *netrcTable[] = {
272
CONST static char *netrcTable[] = {
267
273
"optional", "ignored", "required", (char *)NULL
270
static CONST char *encodingTable[] = {
276
CONST static char *encodingTable[] = {
271
277
"identity", "deflated", "all", (char *)NULL
274
static CONST char *versionInfoTable[] = {
280
CONST static char *versionInfoTable[] = {
275
281
"-version", "-versionnum", "-host", "-features",
276
282
"-sslversion", "-sslversionnum", "-libzversion",
277
283
"-protocols", (char *)NULL
280
static CONST char *proxyTypeTable[] = {
281
"http", "socks5", "socks4", (char *)NULL
286
CONST static char *proxyTypeTable[] = {
287
"http", "socks4", "socks4a", "socks5", "socks5hostname", (char *)NULL
284
static CONST char *httpAuthMethods[] = {
290
CONST static char *httpAuthMethods[] = {
285
291
"basic", "digest", "gssnegotiate", "ntlm", "any", "anysafe", (char *)NULL
288
static CONST char *ipresolve[] = {
294
CONST static char *ipresolve[] = {
289
295
"whatever", "v4", "v6", (char *)NULL
292
static CONST char *ftpssl[] = {
298
CONST static char *ftpssl[] = {
293
299
"nope", "try", "control", "all", (char *)NULL
296
static CONST char *shareCmd[] = {
302
CONST static char *shareCmd[] = {
297
303
"share", "unshare", "cleanup", (char *)NULL
300
static CONST char *lockData[] = {
306
CONST static char *lockData[] = {
301
307
"cookies", "dns", (char *)NULL
304
static CONST char *ftpsslauth[] = {
310
CONST static char *ftpsslauth[] = {
305
311
"default", "ssl", "tls", (char *)NULL
308
static CONST char *ftpsslccc[] = {
314
CONST static char *ftpsslccc[] = {
309
315
"none", "passive", "active", (char *)NULL
312
static CONST char *sslversion[] = {
318
CONST static char *sslversion[] = {
313
319
"default", "tlsv1", "sslv2", "sslv3", (char *)NULL
316
static CONST char *ftpfilemethod[] = {
322
CONST static char *ftpfilemethod[] = {
317
323
"default", "multicwd", "nocwd", "singlecwd", (char *)NULL
320
static CONST char *sshauthtypes[] = {
326
CONST static char *sshauthtypes[] = {
321
327
"publickey", "password", "host", "keyboard", "any", (char *)NULL
324
static curlioerr curlioctl(CURL *handle, curliocmd cmd, void *userp);
330
static curlioerr curlseek(void *instream, curl_off_t offset, int origin);
326
332
int Tclcurl_MultiInit (Tcl_Interp *interp);