Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/curl/tests/libtest/
H A Dmk-lib1521.pl408 my ($name, $type, $val)=($1, $2, $3);
468 elsif($type eq "CURLOPTTYPE_OFF_T") {
525 elsif($type eq "CURLOPTTYPE_BLOB") {
546 my ($info, $type)=($1, $2);
549 if($type eq "STRING") {
552 elsif($type eq "LONG") {
555 elsif($type eq "OFF_T") {
558 elsif($type eq "DOUBLE") {
561 elsif($type eq "SLIST") {
565 elsif($type eq "SOCKET") {
[all …]
H A Dlib1912.c45 (o->type == CURLOT_LONG || o->type == CURLOT_VALUES)) { in test()
49 if(curlcheck_off_t_option(o->id) != (o->type == CURLOT_OFF_T)) { in test()
53 if(curlcheck_string_option(o->id) != (o->type == CURLOT_STRING)) { in test()
57 if(curlcheck_slist_option(o->id) != (o->type == CURLOT_SLIST)) { in test()
61 if(curlcheck_cb_data_option(o->id) != (o->type == CURLOT_CBPTR)) { in test()
66 if(curlcheck_write_cb_option(o->id) && (o->type != CURLOT_FUNCTION)) { in test()
70 if(curlcheck_conv_cb_option(o->id) && (o->type != CURLOT_FUNCTION)) { in test()
74 if(curlcheck_postfields_option(o->id) && (o->type != CURLOT_OBJECT)) { in test()
/curl/lib/
H A Doptiontable.pl41 my($opt, $type, $num)=@_;
44 $type =~ s/ //g;
45 my $ext = $type;
58 $type = "CURLOT_$ext";
61 $type{$name} = $type;
99 my($opt, $type, $num)=($1,$2,$3);
100 add($opt, $type, $num);
127 $oname, $opt{$name}, $type{$name}, $flag);
133 $oname, $opt{$name}, $type{$name}, $flag);
H A Dheaders.c65 unsigned int type, in curl_easy_header() argument
91 (hs->type & type) && in curl_easy_header()
110 (hs->type & type) && in curl_easy_header()
159 if((hs->type & type) && (hs->request == request)) in curl_easy_nextheader()
177 (check->type & type)) in curl_easy_nextheader()
195 if(type == CURLH_PSEUDO) { in namevalue()
278 unsigned char type) in Curl_headers_push() argument
326 hs->type = type; in Curl_headers_push()
355 if((type & CLIENTWRITE_HEADER) && !(type & CLIENTWRITE_STATUS)) { in hds_cw_collect_write()
358 (type & CLIENTWRITE_1XX ? CURLH_1XX : in hds_cw_collect_write()
[all …]
H A Dshare.c59 int type; in curl_share_setopt() local
78 type = va_arg(param, int); in curl_share_setopt()
80 switch(type) { in curl_share_setopt()
142 share->specifier |= (unsigned int)(1 << type); in curl_share_setopt()
147 type = va_arg(param, int); in curl_share_setopt()
148 share->specifier &= ~(unsigned int)(1 << type); in curl_share_setopt()
149 switch(type) { in curl_share_setopt()
266 Curl_share_lock(struct Curl_easy *data, curl_lock_data type, in Curl_share_lock() argument
274 if(share->specifier & (unsigned int)(1 << type)) { in Curl_share_lock()
291 if(share->specifier & (unsigned int)(1 << type)) { in Curl_share_unlock()
[all …]
H A Dsocketpair.c80 int Curl_socketpair(int domain, int type, int protocol, in Curl_socketpair() argument
84 type = nonblocking ? type | SOCK_NONBLOCK : type; in Curl_socketpair()
86 if(socketpair(domain, type, protocol, socks)) in Curl_socketpair()
131 int Curl_socketpair(int domain, int type, int protocol, in Curl_socketpair() argument
143 (void)type; in Curl_socketpair()
H A Dmprintf.c227 FormatType type; in parsefmt() local
431 type = FORMAT_STRING; in parsefmt()
437 type = FORMAT_PTR; in parsefmt()
446 type = FORMAT_INT; in parsefmt()
458 type = FORMAT_INT; in parsefmt()
462 type = FORMAT_INTU; in parsefmt()
466 type = FORMAT_INTU; in parsefmt()
470 type = FORMAT_INT; in parsefmt()
543 iptr->type = type; in parsefmt()
584 switch(iptr->type) { in parsefmt()
[all …]
/curl/docs/cmdline-opts/
H A Dcert-type.md4 Long: cert-type
6 Arg: <type>
7 Help: Certificate type (DER/PEM/ENG/P12)
14 - key-type
16 - --cert-type PEM --cert file $URL
19 # `--cert-type`
21 Set type of the provided client certificate. PEM, DER, ENG and P12 are
24 The default type depends on the TLS backend and is usually PEM, however for
26 the default type.
H A Dproxy-cert-type.md4 Long: proxy-cert-type
5 Arg: <type>
7 Help: Client certificate type for HTTPS proxy
14 - --proxy-cert-type PEM --proxy-cert file -x https://proxy $URL
17 # `--proxy-cert-type`
19 Set type of the provided client certificate when using HTTPS proxy. PEM, DER,
22 The default type depends on the TLS backend and is usually PEM, however for
24 ENG is the default type.
26 Equivalent to --cert-type but used in HTTPS proxy context.
H A Dkey-type.md4 Long: key-type
5 Arg: <type>
6 Help: Private key file type (DER/PEM/ENG)
14 - --key-type DER --key here $URL
17 # `--key-type`
19 Private key file type. Specify which type your --key provided private key
H A Dproxy-key-type.md4 Long: proxy-key-type
5 Arg: <type>
6 Help: Private key file type for proxy
14 - --proxy-key-type DER --proxy-key here -x https://proxy $URL
17 # `--proxy-key-type`
19 Specify the private key file type your --proxy-key provided private key uses.
22 Equivalent to --key-type but used in HTTPS proxy context.
H A Dtlsauthtype.md5 Arg: <type>
6 Help: TLS authentication type
19 Set TLS authentication type. Currently, the only supported option is `SRP`,
H A Dproxy-tlsauthtype.md5 Arg: <type>
6 Help: TLS authentication type for HTTPS proxy
20 Set TLS authentication type with HTTPS proxy. The only supported option is
/curl/docs/libcurl/
H A Dcurl_mime_type.md20 curl_mime_type - set a mime part's content type
32 curl_mime_type(3) sets a mime part's content type.
34 *part* is the part's handle to assign the content type to.
36 *mimetype* points to the null-terminated file mime type string; it may be
37 set to NULL to remove a previously attached mime type.
39 The mime type string is copied into the part, thus the associated storage may
40 safely be released or reused after call. Setting a part's type multiple times
43 In the absence of a mime type and if needed by the protocol specifications,
44 a default mime type is determined by the context:
50 - If a remote filename is set, the mime type is taken from the filename
[all …]
/curl/tests/http/clients/
H A Dh2-upgrade-extreme.c35 static void log_line_start(FILE *log, const char *idsbuf, curl_infotype type) in log_line_start() argument
45 fprintf(log, "%s%s", idsbuf, s_infotype[type]); in log_line_start()
47 fputs(s_infotype[type], log); in log_line_start()
56 static int debug_cb(CURL *handle, curl_infotype type, in debug_cb() argument
82 switch(type) { in debug_cb()
90 log_line_start(output, idsbuf, type); in debug_cb()
98 log_line_start(output, idsbuf, type); in debug_cb()
107 log_line_start(output, idsbuf, type); in debug_cb()
118 log_line_start(output, idsbuf, type); in debug_cb()
H A Dupload-pausing.c42 static void log_line_start(FILE *log, const char *idsbuf, curl_infotype type) in log_line_start() argument
52 fprintf(log, "%s%s", idsbuf, s_infotype[type]); in log_line_start()
54 fputs(s_infotype[type], log); in log_line_start()
63 static int debug_cb(CURL *handle, curl_infotype type, in debug_cb() argument
89 switch(type) { in debug_cb()
97 log_line_start(output, idsbuf, type); in debug_cb()
105 log_line_start(output, idsbuf, type); in debug_cb()
114 log_line_start(output, idsbuf, type); in debug_cb()
125 log_line_start(output, idsbuf, type); in debug_cb()
H A Dtls-session-reuse.c36 static void log_line_start(FILE *log, const char *idsbuf, curl_infotype type) in log_line_start() argument
46 fprintf(log, "%s%s", idsbuf, s_infotype[type]); in log_line_start()
48 fputs(s_infotype[type], log); in log_line_start()
57 static int debug_cb(CURL *handle, curl_infotype type, in debug_cb() argument
83 switch(type) { in debug_cb()
91 log_line_start(output, idsbuf, type); in debug_cb()
99 log_line_start(output, idsbuf, type); in debug_cb()
108 log_line_start(output, idsbuf, type); in debug_cb()
119 log_line_start(output, idsbuf, type); in debug_cb()
/curl/src/
H A Dtool_cb_dbg.c69 const char *idsbuf, curl_infotype type) in log_line_start() argument
79 fprintf(log, "%s%s%s", timebuf, idsbuf, s_infotype[type]); in log_line_start()
81 fputs(s_infotype[type], log); in log_line_start()
90 int tool_debug_cb(CURL *handle, curl_infotype type, in tool_debug_cb() argument
157 switch(type) { in tool_debug_cb()
165 log_line_start(output, timebuf, idsbuf, type); in tool_debug_cb()
173 log_line_start(output, timebuf, idsbuf, type); in tool_debug_cb()
182 log_line_start(output, timebuf, idsbuf, type); in tool_debug_cb()
199 log_line_start(output, timebuf, idsbuf, type); in tool_debug_cb()
215 switch(type) { in tool_debug_cb()
[all …]
/curl/.github/ISSUE_TEMPLATE/
H A Dbug_report.yml9 - type: markdown
23 - type: textarea
30 - type: textarea
37 - type: textarea
47 - type: textarea
/curl/tests/data/
H A Dtest10928 type=
36 FTP with type=i over HTTP proxy
39 "ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER;type=i" --use-ascii -x %HOSTIP:%HTTPPORT
47 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER;type=i HTTP/1.1
H A Dtest5618 type=
42 FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i
46 "ftp://www.example.com/moo/%TESTNUMBER;type=i" http://%HOSTIP:%HTTPPORT ascii
54 GET ftp://www.example.com/moo/%TESTNUMBER;type=i HTTP/1.1
H A Dtest1436 type=
22 FTP URL with type=a
25 "ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/%TESTNUMBER;type=a"
H A Dtest10917 type=
24 FTP URL with type=i
27 "ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/%TESTNUMBER;type=i" --use-ascii
H A Dtest9729 HTTP POST with custom content-type
32 -d "hejsanallabarn" -H "Content-Type: silly/type" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
44 Content-Type: silly/type
/curl/docs/libcurl/opts/
H A DCURLOPT_PROXYTYPE.md17 CURLOPT_PROXYTYPE - proxy protocol type
24 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYTYPE, long type);
29 Pass one of the values below to set the type of the proxy.
69 Often it is more convenient to specify the proxy type with the scheme part of
88 /* set the proxy type */

Completed in 37 milliseconds

12345678910>>...12