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 char * hashkey (struct connectdata *conn)

Function Documentation

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

Definition at line 80 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 67 of file conncache.c.

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

Definition at line 93 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 164 of file conncache.c.

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

Definition at line 173 of file conncache.c.

CURLcode Curl_conncache_add_conn ( struct conncache connc,
struct connectdata conn 
)

Definition at line 197 of file conncache.c.

void Curl_conncache_destroy ( struct conncache connc)

Definition at line 124 of file conncache.c.

struct connectbundle* Curl_conncache_find_bundle ( struct connectdata conn,
struct conncache connc 
) [read]

Definition at line 149 of file conncache.c.

struct connectdata* Curl_conncache_find_first_connection ( struct conncache connc) [read]

Definition at line 311 of file conncache.c.

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

Definition at line 275 of file conncache.c.

int Curl_conncache_init ( struct conncache connc,
int  size 
)

Definition at line 118 of file conncache.c.

void Curl_conncache_remove_conn ( struct conncache connc,
struct connectdata conn 
)

Definition at line 246 of file conncache.c.

static void free_bundle_hash_entry ( void *  freethis) [static]

Definition at line 111 of file conncache.c.

static char* hashkey ( struct connectdata conn) [static]

Definition at line 131 of file conncache.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08