hash_func.h File Reference

Hash functions. More...

#include "str.h"

Include dependency graph for hash_func.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ch_h_inc   h+=v^(v>>3)
#define ch_icase(_c)   (((_c)>='A'&&(_c)<='Z')?((_c)|0x20):(_c))

Functions

static unsigned int core_case_hash (str *s1, str *s2, unsigned int size)
static unsigned int core_hash (const str *s1, const str *s2, const unsigned int size)


Detailed Description

Hash functions.

Definition in file hash_func.h.


Define Documentation

#define ch_h_inc   h+=v^(v>>3)

Definition at line 44 of file hash_func.h.

Referenced by core_case_hash(), and core_hash().

#define ch_icase ( _c   )     (((_c)>='A'&&(_c)<='Z')?((_c)|0x20):(_c))

Definition at line 45 of file hash_func.h.

Referenced by core_case_hash().


Function Documentation

static unsigned int core_case_hash ( str s1,
str s2,
unsigned int  size 
) [inline, static]

static unsigned int core_hash ( const str s1,
const str s2,
const unsigned int  size 
) [inline, static]


Generated on Wed May 23 06:01:04 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6