/curl/lib/ |
H A D | Makefile.inc | 43 vauth/vauth.h 78 vtls/x509asn1.h 89 vquic/curl_msh3.h \ 93 vquic/vquic.h \ 94 vquic/vquic_int.h \ 95 vquic/vquic-tls.h 104 vssh/curl_path.h \ 105 vssh/ssh.h 242 altsvc.h \ 243 amigaos.h \ [all …]
|
H A D | hash.c | 72 DEBUGASSERT(h); in Curl_hash_init() 82 h->size = 0; in Curl_hash_init() 120 h->table = malloc(h->slots * sizeof(struct Curl_llist)); in Curl_hash_add2() 141 ++h->size; in Curl_hash_add2() 227 Curl_llist_destroy(&h->table[i], (void *) h); in Curl_hash_destroy() 231 h->size = 0; in Curl_hash_destroy() 232 h->slots = 0; in Curl_hash_destroy() 258 if(!h || !h->table) in Curl_hash_clean_with_criterium() 287 h += h << 5; in Curl_hash_str() 288 h ^= j; in Curl_hash_str() [all …]
|
H A D | hash.h | 86 void Curl_hash_init(struct Curl_hash *h, 95 int Curl_hash_delete(struct Curl_hash *h, void *key, size_t key_len); 98 void Curl_hash_destroy(struct Curl_hash *h); 99 size_t Curl_hash_count(struct Curl_hash *h); 100 void Curl_hash_clean(struct Curl_hash *h); 101 void Curl_hash_clean_with_criterium(struct Curl_hash *h, void *user, 111 void Curl_hash_print(struct Curl_hash *h, 115 void Curl_hash_offt_init(struct Curl_hash *h, size_t slots, 118 void *Curl_hash_offt_set(struct Curl_hash *h, curl_off_t id, void *elem); 119 int Curl_hash_offt_remove(struct Curl_hash *h, curl_off_t id); [all …]
|
H A D | hsts.c | 81 if(h) { in Curl_hsts_init() 84 return h; in Curl_hsts_init() 96 if(h) { in Curl_hsts_cleanup() 105 free(h); in Curl_hsts_cleanup() 116 DEBUGASSERT(h); in hsts_create() 258 if(h) { in Curl_hsts() 369 if(!h) in Curl_hsts_save() 470 DEBUGASSERT(h); in hsts_pull() 522 if(!h->filename) in hsts_load() 554 DEBUGASSERT(h); in Curl_hsts_loadfile() [all …]
|
H A D | hostip4.c | 130 struct hostent *h = NULL; in Curl_ipv4_resolve_r() local 168 h = gethostbyname_r(hostname, in Curl_ipv4_resolve_r() 180 if(h) { in Curl_ipv4_resolve_r() 191 &h, /* DIFFERENCE */ in Curl_ipv4_resolve_r() 224 if(!h) /* failure */ in Curl_ipv4_resolve_r() 265 h = buf; /* result expected in h */ in Curl_ipv4_resolve_r() 279 h = NULL; /* set return code to NULL */ in Curl_ipv4_resolve_r() 289 h = gethostbyname((void *)hostname); in Curl_ipv4_resolve_r() 294 if(h) { in Curl_ipv4_resolve_r() 295 ai = Curl_he2ai(h, port); in Curl_ipv4_resolve_r()
|
H A D | Makefile.am | 26 CMAKE_DIST = CMakeLists.txt curl_config.h.cmake 31 EXTRA_DIST = Makefile.mk config-win32.h config-win32ce.h config-plan9.h \ 32 config-riscos.h config-mac.h curl_config.h.in config-dos.h libcurl.rc \ 33 config-amigaos.h config-win32ce.h config-os400.h setup-os400.h \ 34 $(CMAKE_DIST) setup-win32.h Makefile.soname optiontable.pl libcurl.def \ 125 $(LIB_RCFILES): $(top_srcdir)/include/curl/curlver.h 149 -W$(srcdir)/curl_config.h $(srcdir)/*.[ch] $(srcdir)/vauth/*.[ch] \ 166 perl optiontable.pl < $(top_srcdir)/include/curl/curl.h > easyoptions.c
|
H A D | amigaos.c | 131 struct hostent *h; in Curl_ipv4_resolve_r() local 140 h = gethostbyname_r((STRPTR)hostname, buf, in Curl_ipv4_resolve_r() 144 if(h) { in Curl_ipv4_resolve_r() 145 ai = Curl_he2ai(h, port); in Curl_ipv4_resolve_r() 159 h = gethostbyname((STRPTR)hostname); in Curl_ipv4_resolve_r() 160 if(h) { in Curl_ipv4_resolve_r() 161 ai = Curl_he2ai(h, port); in Curl_ipv4_resolve_r() 169 h = gethostbyname(hostname); in Curl_ipv4_resolve_r() 170 if(h) { in Curl_ipv4_resolve_r() 171 ai = Curl_he2ai(h, port); in Curl_ipv4_resolve_r()
|
H A D | hsts.h | 52 CURLcode Curl_hsts_parse(struct hsts *h, const char *hostname, 54 struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, 56 CURLcode Curl_hsts_save(struct Curl_easy *data, struct hsts *h, 59 struct hsts *h, const char *file); 61 struct hsts *h);
|
/curl/src/ |
H A D | Makefile.inc | 107 slist_wc.h \ 108 terminal.h \ 110 tool_bname.h \ 127 tool_help.h \ 130 tool_ipfs.h \ 132 tool_main.h \ 133 tool_msgs.h \ 141 tool_setup.h \ 146 tool_util.h \ 148 tool_vms.h \ [all …]
|
H A D | .gitignore | 8 config-win32.h 10 curl_config.h 11 curl_config.h.in 15 tool_version.h.dist
|
/curl/include/curl/ |
H A D | Makefile.am | 25 curl.h curlver.h easy.h mprintf.h stdcheaders.h multi.h \ 26 typecheck-gcc.h system.h urlapi.h options.h header.h websockets.h
|
/curl/tests/server/ |
H A D | Makefile.inc | 40 ../../lib/curlx.h \ 46 ../../lib/dynbuf.h \ 47 ../../lib/strdup.h \ 52 getpart.h \ 53 server_setup.h \ 57 ../../lib/memdebug.h 61 util.h 74 server_sockaddr.h \ 80 server_sockaddr.h \ 99 server_sockaddr.h \ [all …]
|
/curl/docs/examples/ |
H A D | parseurl.c | 37 CURLU *h; in main() local 42 h = curl_url(); /* get a handle to work with */ in main() 43 if(!h) in main() 47 uc = curl_url_set(h, CURLUPART_URL, "http://example.com/path/index.html", 0); in main() 52 uc = curl_url_get(h, CURLUPART_HOST, &host, 0); in main() 59 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main() 66 uc = curl_url_set(h, CURLUPART_URL, "../another/second.html", 0); in main() 71 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main() 78 curl_url_cleanup(h); /* free URL handle */ in main()
|
H A D | headerapi.c | 67 struct curl_header *h; in main() local 70 h = curl_easy_nextheader(curl, CURLH_HEADER, -1, prev); in main() 71 if(h) in main() 72 printf(" %s: %s (%u)\n", h->name, h->value, (int)h->amount); in main() 73 prev = h; in main() 74 } while(h); in main()
|
/curl/tests/ |
H A D | test1177.pl | 53 open(my $h, "<", "$header"); 54 while(<$h>) { 59 close($h); 70 for my $h (keys %headerversion) { 71 if(!$manversion{$h}) { 72 print STDERR "$manpage: missing $h\n"; 76 for my $h (keys %manversion) { 77 if(!$headerversion{$h}) { 78 print STDERR "$manpage: $h is not in the header!\n";
|
H A D | test1544.pl | 45 open(my $h, "<", "$f"); 46 while(<$h>) { 89 close $h; 99 open(my $h, "<", "$f"); 100 while(<$h>) { 108 close $h;
|
H A D | test1119.pl | 84 open my $h, "<", "$f"; 85 while(<$h>) { 90 close $h; 99 foreach my $h (@headers) { 100 scanenum("$d/$h"); 101 scanheader("$d/$h");
|
/curl/tests/libtest/ |
H A D | lib1947.c | 40 struct curl_header *h; in test() local 64 h = curl_easy_nextheader(curl, origins, count, NULL); in test() 65 if(h) in test() 67 } while(h); in test() 82 h = curl_easy_nextheader(curl, origins, count, NULL); in test() 83 if(h) in test() 85 } while(h); in test()
|
/curl/packages/vms/ |
H A D | stage_curl_install.com | 11 $! [usr.include.curl]curl.h 12 $! [usr.include.curl]curlver.h 13 $! [usr.include.curl]easy.h 14 $! [usr.include.curl]mprintf.h 15 $! [usr.include.curl]multi.h 16 $! [usr.include.curl]stdcheaders.h 17 $! [usr.include.curl]typecheck-gcc.h 129 $ copy [--.include.curl]curl.h 'new_gnu'[usr.include.curl]curl.h 130 $ copy [--.include.curl]system.h - 134 $ copy [--.include.curl]easy.h - [all …]
|
/curl/tests/unit/ |
H A D | unit1660.c | 124 struct hsts *h = Curl_hsts_init(); 130 abort_unless(h, "Curl_hsts_init()"); 135 Curl_hsts_cleanup(&h); 140 Curl_hsts_loadfile(easy, h, arg); 144 result = Curl_hsts_parse(h, headers[i].host, headers[i].hdr); 159 e = Curl_hsts(h, chost, TRUE); 163 printf("Number of entries: %zu\n", Curl_llist_count(&h->list)); 168 e = Curl_hsts(h, chost, TRUE); 174 (void)Curl_hsts_save(easy, h, savename); 175 Curl_hsts_cleanup(&h);
|
/curl/tests/http/clients/ |
H A D | h2-pausing.c | 167 CURL *h; member 177 if(curl_easy_getinfo(handle->h, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T, in cb() 282 handles[i].h = curl_easy_init(); in main() 283 if(!handles[i].h || in main() 285 curl_easy_setopt(handles[i].h, CURLOPT_WRITEDATA, &handles[i]) in main() 289 curl_easy_setopt(handles[i].h, CURLOPT_DEBUGFUNCTION, debug_cb) in main() 293 curl_easy_setopt(handles[i].h, CURLOPT_PIPEWAIT, 1L) || in main() 352 if(msg->easy_handle == handles[i].h) { in main() 384 curl_easy_pause(handles[i].h, CURLPAUSE_CONT); in main() 391 curl_multi_remove_handle(multi_handle, handles[i].h); in main() [all …]
|
/curl/m4/ |
H A D | curl-amissl.m4 | 32 #include <libraries/amisslmaster.h> 33 #include <openssl/opensslv.h> 55 AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \ 56 openssl/pem.h openssl/ssl.h openssl/err.h)
|
H A D | curl-reentrant.m4 | 43 #include <errno.h> 56 #include <errno.h> 103 #include <time.h> 110 #include <time.h> 136 #include <time.h> 143 #include <time.h> 169 #include <string.h> 235 #include <netdb.h> 268 #include <netdb.h> 366 cat >>confdefs.h <<_EOF [all …]
|
/curl/packages/OS400/rpg-examples/ |
H A D | HEADERAPI | 3 h DFTACTGRP(*NO) ACTGRP(*NEW) 4 h OPTION(*NOSHOWCPY) 5 h BNDDIR('CURL') 68 h = curl_easy_init(); 69 if h <> *NULL; 70 curl_easy_setopt_ccsid(h: CURLOPT_URL: %subst(url: 1: urllen): 0); 71 curl_easy_setopt(h: CURLOPT_FOLLOWLOCATION: 1); 76 result = curl_easy_perform(h); 85 if curl_easy_header_ccsid(h: 'Content-Type': 0: CURLH_HEADER: -1: 95 hp = curl_easy_nextheader(h: CURLH_HEADER: -1: hp); [all …]
|
/curl/projects/ |
H A D | generate.bat | 61 ) else if /i "%~1" == "-h" ( 159 for /f "delims=" %%h in ('dir /b ..\src\*.h') do call :element %1 src "%%h" %3 175 call :element %1 lib "timediff.h" %3 181 call :element %1 lib "dynbuf.h" %3 186 … for /f "delims=" %%h in ('dir /b ..\include\curl\*.h') do call :element %1 include\curl "%%h" %3 187 for /f "delims=" %%h in ('dir /b ..\lib\*.h') do call :element %1 lib "%%h" %3 193 for /f "delims=" %%h in ('dir /b ..\lib\vauth\*.h') do call :element %1 lib\vauth "%%h" %3 197 for /f "delims=" %%h in ('dir /b ..\lib\vquic\*.h') do call :element %1 lib\vquic "%%h" %3 201 for /f "delims=" %%h in ('dir /b ..\lib\vssh\*.h') do call :element %1 lib\vssh "%%h" %3 205 for /f "delims=" %%h in ('dir /b ..\lib\vtls\*.h') do call :element %1 lib\vtls "%%h" %3 [all …]
|