Home
last modified time | relevance | path

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

/external/curl/lib/
Dconncache.c133 int Curl_conncache_init(struct conncache *connc, int size) in Curl_conncache_init() argument
138 connc->closure_handle = curl_easy_init(); in Curl_conncache_init()
139 if(!connc->closure_handle) in Curl_conncache_init()
142 rc = Curl_hash_init(&connc->hash, size, Curl_hash_str, in Curl_conncache_init()
145 Curl_close(connc->closure_handle); in Curl_conncache_init()
146 connc->closure_handle = NULL; in Curl_conncache_init()
149 connc->closure_handle->state.conn_cache = connc; in Curl_conncache_init()
154 void Curl_conncache_destroy(struct conncache *connc) in Curl_conncache_destroy() argument
156 if(connc) in Curl_conncache_destroy()
157 Curl_hash_destroy(&connc->hash); in Curl_conncache_destroy()
[all …]
Dconncache.h54 void Curl_conncache_destroy(struct conncache *connc);
58 struct conncache *connc);
65 CURLcode Curl_conncache_add_conn(struct conncache *connc,
71 struct conncache *connc,
77 Curl_conncache_find_first_connection(struct conncache *connc);
84 void Curl_conncache_close_all_connections(struct conncache *connc);
85 void Curl_conncache_print(struct conncache *connc);