djbdnscurve6  38
djbdnscurve6
Functions | Variables
cache.h File Reference
#include "uint_t.h"
Include dependency graph for cache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int cache_init (unsigned int)
 
void cache_set (const char *, unsigned int, const char *, unsigned int, uint32)
 
char * cache_get (const char *, unsigned int, unsigned int *, uint32 *)
 

Variables

uint64 cache_motion
 

Function Documentation

◆ cache_get()

char* cache_get ( const char *  key,
unsigned int  keylen,
unsigned int *  datalen,
uint32 *  ttl 
)

Definition at line 80 of file cache.c.

◆ cache_init()

int cache_init ( unsigned int  cachesize)

Definition at line 184 of file cache.c.

◆ cache_set()

void cache_set ( const char *  key,
unsigned int  keylen,
const char *  data,
unsigned int  datalen,
uint32  ttl 
)

Definition at line 127 of file cache.c.

Variable Documentation

◆ cache_motion

uint64 cache_motion
extern

Definition at line 8 of file cache.c.