Home
last modified time | relevance | path

Searched refs:connc (Results 1 – 2 of 2) sorted by relevance

/external/curl/lib/
Dconncache.c118 int Curl_conncache_init(struct conncache *connc, int size) in Curl_conncache_init() argument
120 return Curl_hash_init(&connc->hash, size, Curl_hash_str, in Curl_conncache_init()
124 void Curl_conncache_destroy(struct conncache *connc) in Curl_conncache_destroy() argument
126 if(connc) in Curl_conncache_destroy()
127 Curl_hash_destroy(&connc->hash); in Curl_conncache_destroy()
150 struct conncache *connc) in Curl_conncache_find_bundle() argument
153 if(connc) { in Curl_conncache_find_bundle()
156 bundle = Curl_hash_pick(&connc->hash, key, strlen(key)); in Curl_conncache_find_bundle()
164 static bool conncache_add_bundle(struct conncache *connc, in conncache_add_bundle() argument
168 void *p = Curl_hash_add(&connc->hash, key, strlen(key), bundle); in conncache_add_bundle()
[all …]
Dconncache.h46 void Curl_conncache_destroy(struct conncache *connc);
50 struct conncache *connc);
52 CURLcode Curl_conncache_add_conn(struct conncache *connc,
55 void Curl_conncache_remove_conn(struct conncache *connc,
58 void Curl_conncache_foreach(struct conncache *connc,
64 Curl_conncache_find_first_connection(struct conncache *connc);
66 void Curl_conncache_print(struct conncache *connc);