/curl/ |
H A D | .gitattributes | 12 *.[ch] whitespace=tab-in-indent
|
H A D | .mailmap | 19 Patrick Monnerat <patrick@monnerat.net> <Patrick.Monnerat@datasphere.ch> 21 Patrick Monnerat <patrick@monnerat.net> <pm@datasphere.ch>
|
/curl/docs/ |
H A D | THANKS | 3000 Vojtěch Král
|
/curl/docs/examples/ |
H A D | cacertinmem.c | 125 CURL *ch; in main() local 129 ch = curl_easy_init(); in main() 130 curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main() 131 curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main() 132 curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main() 133 curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main() 146 curl_easy_setopt(ch, CURLOPT_CAINFO, NULL); in main() 147 curl_easy_setopt(ch, CURLOPT_CAPATH, NULL); in main() 152 rv = curl_easy_perform(ch); in main() 173 rv = curl_easy_perform(ch); in main() [all …]
|
H A D | ghiper.c | 93 GIOChannel *ch; member 180 static gboolean event_cb(GIOChannel *ch, GIOCondition condition, gpointer data) in event_cb() argument 184 int fd = g_io_channel_unix_get_fd(ch); in event_cb() 232 f->ev = g_io_add_watch(f->ch, kind, event_cb, g); in setsock() 241 fdp->ch = g_io_channel_unix_new(s); in addsock() 331 static gboolean fifo_cb(GIOChannel *ch, GIOCondition condition, gpointer data) in fifo_cb() argument 340 rv = g_io_channel_read_line(ch, &buf, &len, &tp, &err); in fifo_cb() 352 g_io_channel_read_chars(ch, buf, BUF_SIZE, &len, &err); in fifo_cb() 419 GIOChannel* ch; in main() local 423 ch = g_io_channel_unix_new(fd); in main() [all …]
|
H A D | usercertinmem.c | 179 CURL *ch; in main() local 183 ch = curl_easy_init(); in main() 184 curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main() 185 curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main() 186 curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main() 187 curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main() 189 curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main() 200 curl_easy_setopt(ch, CURLOPT_SSLKEYTYPE, "PEM"); in main() 203 rv = curl_easy_perform(ch); in main() 216 rv = curl_easy_perform(ch); in main() [all …]
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_SSL_CTX_DATA.md | 82 CURL *ch; 96 ch = curl_easy_init(); 98 curl_easy_setopt(ch, CURLOPT_SSLCERTTYPE, "PEM"); 99 curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 1L); 100 curl_easy_setopt(ch, CURLOPT_URL, "https://www.example.com/"); 102 curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, *sslctx_function); 103 curl_easy_setopt(ch, CURLOPT_SSL_CTX_DATA, mypem); 104 rv = curl_easy_perform(ch); 110 curl_easy_cleanup(ch);
|
H A D | CURLOPT_SSL_CTX_FUNCTION.md | 126 CURL *ch; 140 ch = curl_easy_init(); 142 curl_easy_setopt(ch, CURLOPT_SSLCERTTYPE, "PEM"); 143 curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 1L); 144 curl_easy_setopt(ch, CURLOPT_URL, "https://www.example.com/"); 146 curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, *sslctx_function); 147 curl_easy_setopt(ch, CURLOPT_SSL_CTX_DATA, mypem); 148 rv = curl_easy_perform(ch); 154 curl_easy_cleanup(ch);
|
/curl/lib/ |
H A D | Makefile.am | 126 -W$(srcdir)/curl_config.h $(srcdir)/*.[ch] $(srcdir)/vauth/*.[ch] \ 127 $(srcdir)/vtls/*.[ch] $(srcdir)/vquic/*.[ch] $(srcdir)/vssh/*.[ch])
|
H A D | cf-h1-proxy.c | 73 struct Curl_chunker ch; member 131 Curl_httpchunk_init(data, &ts->ch, TRUE); in tunnel_init() 204 Curl_httpchunk_free(data, &ts->ch); in tunnel_free() 346 Curl_httpchunk_reset(data, &ts->ch, TRUE); in on_resp_header() 439 result = Curl_httpchunk_read(data, &ts->ch, &byte, 1, &consumed); in recv_CONNECT_resp() 442 if(Curl_httpchunk_is_done(data, &ts->ch)) { in recv_CONNECT_resp()
|
H A D | dict.c | 113 char ch = *ptr; in unescape_word() local 114 if((ch <= 32) || (ch == 127) || in unescape_word() 115 (ch == '\'') || (ch == '\"') || (ch == '\\')) in unescape_word()
|
H A D | http.c | 823 static int is_valid_auth_separator(char ch) in is_valid_auth_separator() argument 825 return ch == '\0' || ch == ',' || ISSPACE(ch); in is_valid_auth_separator() 2760 size_t ch = CURLMIN(strlen(prefix), len); in checkprefixmax() local 2761 return curl_strnequal(prefix, buffer, ch); in checkprefixmax()
|
H A D | http_chunks.c | 87 ch->last_code = CHUNKE_OK; in Curl_httpchunk_init() 98 ch->last_code = CHUNKE_OK; in Curl_httpchunk_reset() 106 Curl_dyn_free(&ch->trailer); in Curl_httpchunk_free() 126 if(ch->state == CHUNK_DONE) in httpchunk_readwrite() 146 switch(ch->state) { in httpchunk_readwrite() 155 ch->hexbuffer[ch->hexindex++] = *buf; in httpchunk_readwrite() 171 ch->hexbuffer[ch->hexindex] = 0; in httpchunk_readwrite() 172 if(curlx_strtoofft(ch->hexbuffer, NULL, 16, &ch->datasize)) { in httpchunk_readwrite() 232 if(0 == ch->datasize) in httpchunk_readwrite() 240 Curl_httpchunk_reset(data, ch, ch->ignore_body); in httpchunk_readwrite() [all …]
|
H A D | http_chunks.h | 104 void Curl_httpchunk_init(struct Curl_easy *data, struct Curl_chunker *ch, 106 void Curl_httpchunk_free(struct Curl_easy *data, struct Curl_chunker *ch); 107 void Curl_httpchunk_reset(struct Curl_easy *data, struct Curl_chunker *ch, 126 CURLcode Curl_httpchunk_read(struct Curl_easy *data, struct Curl_chunker *ch, 132 bool Curl_httpchunk_is_done(struct Curl_easy *data, struct Curl_chunker *ch);
|
H A D | idn.c | 193 const unsigned char *ch = (const unsigned char *)hostname; in Curl_is_ASCII_name() local 198 while(*ch) { in Curl_is_ASCII_name() 199 if(*ch++ & 0x80) in Curl_is_ASCII_name()
|
H A D | imap.c | 1859 static bool imap_is_bchar(char ch) in imap_is_bchar() argument 1863 if(ISALNUM(ch)) in imap_is_bchar() 1866 switch(ch) { in imap_is_bchar()
|
H A D | inet_pton.c | 103 int saw_digit, octets, ch; in inet_pton4() local 110 while((ch = *src++) != '\0') { in inet_pton4() 113 pch = strchr(digits, ch); in inet_pton4() 129 else if(ch == '.' && saw_digit) { in inet_pton4() 164 int ch, saw_xdigit; in inet_pton6() local 177 while((ch = *src++) != '\0') { in inet_pton6() 181 pch = strchr((xdigits = xdigits_l), ch); in inet_pton6() 183 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6() 191 if(ch == ':') { in inet_pton6() 207 if(ch == '.' && ((tp + INADDRSZ) <= endp) && in inet_pton6()
|
/curl/lib/vtls/ |
H A D | openssl.c | 2377 STACK_OF(X509) *ch = NULL; in verifystatus() 2418 ch = SSL_get_peer_cert_chain(octx->ssl); in verifystatus() 2419 if(!ch) { in verifystatus() 2437 if(sk_X509_num(ch) >= 2 && sk_X509_num(br->certs) >= 1) { in verifystatus() 2441 for(i = 0; i < sk_X509_num(ch); i++) { in verifystatus() 2442 X509 *issuer = sk_X509_value(ch, i); in verifystatus() 2454 if(OCSP_basic_verify(br, ch, st, 0) <= 0) { in verifystatus() 2468 for(i = 0; i < (int)sk_X509_num(ch); i++) { in verifystatus() 2469 X509 *issuer = sk_X509_value(ch, i); in verifystatus()
|
/curl/packages/ |
H A D | Makefile.am | 51 $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) $(srcdir)/OS400/*.[ch])
|
/curl/src/ |
H A D | Makefile.am | 146 -W$(srcdir)/tool_hugehelp.c $(srcdir)/*.[ch])
|
/curl/tests/http/clients/ |
H A D | h2-download.c | 289 int ch; in main() local 291 while((ch = getopt(argc, argv, "ahm:n:A:F:P:V:")) != -1) { in main() 292 switch(ch) { in main()
|
H A D | h2-pausing.c | 211 int ch; in main() local 213 while((ch = getopt(argc, argv, "hV:")) != -1) { in main() 214 switch(ch) { in main()
|
/curl/tests/libtest/ |
H A D | Makefile.am | 135 $(CHECKSRC)@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) $(srcdir)/*.[ch]
|
H A D | lib1903.c | 34 CURL *ch = NULL; in test() local 37 easy_init(ch); in test() 39 easy_setopt(ch, CURLOPT_URL, URL); in test() 40 easy_setopt(ch, CURLOPT_COOKIEFILE, libtest_arg2); in test() 41 res = curl_easy_perform(ch); in test() 45 curl_easy_reset(ch); in test() 47 easy_setopt(ch, CURLOPT_URL, URL); in test() 48 easy_setopt(ch, CURLOPT_COOKIEFILE, libtest_arg2); in test() 49 easy_setopt(ch, CURLOPT_COOKIEJAR, libtest_arg3); in test() 50 res = curl_easy_perform(ch); in test() [all …]
|
H A D | lib1905.c | 34 CURL *ch = NULL; in test() local 52 ch = curl_easy_init(); in test() 53 if(!ch) in test() 56 curl_easy_setopt(ch, CURLOPT_SHARE, sh); in test() 57 curl_easy_setopt(ch, CURLOPT_URL, URL); in test() 59 curl_easy_setopt(ch, CURLOPT_COOKIEJAR, libtest_arg2); in test() 61 curl_multi_add_handle(cm, ch); in test() 89 curl_easy_setopt(ch, CURLOPT_COOKIELIST, "FLUSH"); in test() 90 curl_easy_setopt(ch, CURLOPT_SHARE, NULL); in test() 92 curl_multi_remove_handle(cm, ch); in test() [all …]
|