Functions | Variables

memcached.c File Reference

memcached module More...

#include "memcached.h"
#include "mcd_var.h"
#include "../../sr_module.h"
#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../ut.h"
#include "../../str.h"
Include dependency graph for memcached.c:

Go to the source code of this file.

Functions

Variables


Detailed Description

Definition in file memcached.c.


Function Documentation

static void memcached_free ( void *  mem  )  [inline, static]
Parameters:
mem freed memory
See also:
pkg_free

Definition at line 116 of file memcached.c.

Referenced by mod_init().

Here is the caller graph for this function:

static void* memcached_malloc ( const size_t  size  )  [inline, static]
Parameters:
size allocated size
Returns:
allocated memory, or NULL on failure
See also:
pkg_malloc

Definition at line 127 of file memcached.c.

Referenced by mod_init().

Here is the caller graph for this function:

static void* memcached_realloc ( void *  mem,
const size_t  size 
) [inline, static]
Parameters:
mem pointer to allocated memory
size new size of memory area
Returns:
allocated memory, or NULL on failure
See also:
pkg_realloc

Definition at line 139 of file memcached.c.

Referenced by mod_init().

Here is the caller graph for this function:

static int mod_init ( void   )  [static]
Returns:
0 on success, -1 on failure

delete eventual log filters

Definition at line 206 of file memcached.c.

References memcache_err_func(), memcached_free(), memcached_h, memcached_malloc(), memcached_realloc(), memcached_srv_str, and memcached_timeout.

Here is the call graph for this function:


Variable Documentation

int memcached_timeout = 5000

server timeout

Definition at line 54 of file memcached.c.

Referenced by mod_init().