50 static int cache_enabled = 1;
51 static int cache_count;
52 static int cache_hits;
53 typedef void (*free_func) (
void *);
71 *enabled = cache_enabled;
85 int tls_mgr_policy(
const char *unused_type,
int *cachable,
int *timeout)
87 if (cache_enabled && tls_cache == 0)
89 *cachable = cache_enabled;
111 const char *buf, ssize_t len)
void htable_free(HTABLE *table, void(*free_fn)(void *))
HTABLE_INFO * htable_locate(HTABLE *table, const char *key)
int tls_mgr_lookup(const char *, const char *, VSTRING *)
int tls_mgr_update(const char *, const char *, const char *, ssize_t)
int tls_mgr_seed(VSTRING *, int)
HTABLE * htable_create(ssize_t size)
void tlsmgrmem_disable(void)
VSTRING * vstring_alloc(ssize_t len)
void * htable_find(HTABLE *table, const char *key)
int tls_mgr_delete(const char *, const char *)
int tls_mgr_policy(const char *, int *, int *)
VSTRING * vstring_free(VSTRING *vp)
void tlsmgrmem_status(int *, int *, int *)
VSTRING * vstring_memcpy(VSTRING *vp, const char *src, ssize_t len)
#define TLS_SESSION_LIFEMIN
void htable_delete(HTABLE *table, const char *key, void(*free_fn)(void *))
void tlsmgrmem_flush(void)
HTABLE_INFO * htable_enter(HTABLE *table, const char *key, void *value)