assoc.c File Reference

#include "memcached.h"
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/signal.h>
#include <sys/resource.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <pthread.h>

Include dependency graph for assoc.c:


Defines

#define hashsize(n)   ((ub4)1<<(n))
#define hashmask(n)   (hashsize(n)-1)
#define DEFAULT_HASH_BULK_MOVE   1

Typedefs

typedef unsigned long int ub4
typedef unsigned char ub1

Functions

void assoc_init (void)
itemassoc_find (const char *key, const size_t nkey)
int assoc_insert (item *it)
void assoc_delete (const char *key, const size_t nkey)
int start_assoc_maintenance_thread ()
void stop_assoc_maintenance_thread ()

Variables

int hash_bulk_move = DEFAULT_HASH_BULK_MOVE

Define Documentation

#define DEFAULT_HASH_BULK_MOVE   1

#define hashmask (  )     (hashsize(n)-1)

#define hashsize (  )     ((ub4)1<<(n))


Typedef Documentation

typedef unsigned char ub1

typedef unsigned long int ub4


Function Documentation

void assoc_delete ( const char *  key,
const size_t  nkey 
)

Here is the caller graph for this function:

item* assoc_find ( const char *  key,
const size_t  nkey 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void assoc_init ( void   ) 

Here is the caller graph for this function:

int assoc_insert ( item it  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int start_assoc_maintenance_thread ( void   ) 

Here is the caller graph for this function:

void stop_assoc_maintenance_thread ( void   ) 

Here is the caller graph for this function:


Variable Documentation

int hash_bulk_move = DEFAULT_HASH_BULK_MOVE


Generated on Fri Apr 17 16:28:08 2009 for memcached by  doxygen 1.5.8