Functions
conncache.c File Reference
#include "curl_setup.h"
#include <curl/curl.h>
#include "urldata.h"
#include "url.h"
#include "progress.h"
#include "multiif.h"
#include "sendf.h"
#include "conncache.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Include dependency graph for conncache.c:

Go to the source code of this file.

Functions

static CURLcode bundle_add_conn (struct connectbundle *cb_ptr, struct connectdata *conn)
 
static CURLcode bundle_create (struct Curl_easy *data, struct connectbundle **cb_ptr)
 
static void bundle_destroy (struct connectbundle *cb_ptr)
 
static int bundle_remove_conn (struct connectbundle *cb_ptr, struct connectdata *conn)
 
static void conn_llist_dtor (void *user, void *element)
 
static bool conncache_add_bundle (struct conncache *connc, char *key, struct connectbundle *bundle)
 
static void conncache_remove_bundle (struct conncache *connc, struct connectbundle *bundle)
 
CURLcode Curl_conncache_add_conn (struct conncache *connc, struct connectdata *conn)
 
void Curl_conncache_destroy (struct conncache *connc)
 
struct connectbundleCurl_conncache_find_bundle (struct connectdata *conn, struct conncache *connc)
 
struct connectdataCurl_conncache_find_first_connection (struct conncache *connc)
 
void Curl_conncache_foreach (struct conncache *connc, void *param, int(*func)(struct connectdata *conn, void *param))
 
int Curl_conncache_init (struct conncache *connc, int size)
 
void Curl_conncache_remove_conn (struct conncache *connc, struct connectdata *conn)
 
static void free_bundle_hash_entry (void *freethis)
 
static void hashkey (struct connectdata *conn, char *buf, size_t len)
 

Function Documentation

static CURLcode bundle_add_conn ( struct connectbundle cb_ptr,
struct connectdata conn 
)
static

Definition at line 74 of file conncache.c.

static CURLcode bundle_create ( struct Curl_easy data,
struct connectbundle **  cb_ptr 
)
static

Definition at line 47 of file conncache.c.

static void bundle_destroy ( struct connectbundle cb_ptr)
static

Definition at line 63 of file conncache.c.

static int bundle_remove_conn ( struct connectbundle cb_ptr,
struct connectdata conn 
)
static

Definition at line 85 of file conncache.c.

static void conn_llist_dtor ( void *  user,
void *  element 
)
static

Definition at line 39 of file conncache.c.

static bool conncache_add_bundle ( struct conncache connc,
char *  key,
struct connectbundle bundle 
)
static

Definition at line 158 of file conncache.c.

static void conncache_remove_bundle ( struct conncache connc,
struct connectbundle bundle 
)
static

Definition at line 167 of file conncache.c.

CURLcode Curl_conncache_add_conn ( struct conncache connc,
struct connectdata conn 
)

Definition at line 191 of file conncache.c.

void Curl_conncache_destroy ( struct conncache connc)

Definition at line 116 of file conncache.c.

struct connectbundle* Curl_conncache_find_bundle ( struct connectdata conn,
struct conncache connc 
)

Definition at line 145 of file conncache.c.

struct connectdata* Curl_conncache_find_first_connection ( struct conncache connc)

Definition at line 300 of file conncache.c.

void Curl_conncache_foreach ( struct conncache connc,
void *  param,
int(*)(struct connectdata *conn, void *param func 
)

Definition at line 264 of file conncache.c.

int Curl_conncache_init ( struct conncache connc,
int  size 
)

Definition at line 110 of file conncache.c.

void Curl_conncache_remove_conn ( struct conncache connc,
struct connectdata conn 
)

Definition at line 235 of file conncache.c.

static void free_bundle_hash_entry ( void *  freethis)
static

Definition at line 103 of file conncache.c.

static void hashkey ( struct connectdata conn,
char *  buf,
size_t  len 
)
static

Definition at line 123 of file conncache.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17