abyss_data.h File Reference

#include "abyss_thread.h"

Include dependency graph for abyss_data.h:

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

Go to the source code of this file.

Data Structures

struct  _TPoolZone
struct  TList
struct  TPool
struct  TTable
struct  TTableItem

Typedefs

typedef struct _TPoolZone TPoolZone

Functions

abyss_bool ListAdd (TList *const listP, void *const str)
abyss_bool ListAddFromString (TList *const listP, const char *const c)
abyss_bool ListFindString (TList *const listP, const char *const str, uint16_t *const indexP)
void ListFree (TList *const listP)
void ListFreeItems (TList *const listP)
void ListInit (TList *const listP)
void ListInitAutoFree (TList *const listP)
void ListRemove (TList *const listP)
void * PoolAlloc (TPool *const poolP, uint32_t const size)
abyss_bool PoolCreate (TPool *const poolP, uint32_t const zonesize)
void PoolFree (TPool *const poolP)
void PoolReturn (TPool *const poolP, void *const blockP)
const char * PoolStrdup (TPool *const poolP, const char *const origString)
abyss_bool TableAdd (TTable *const t, const char *const name, const char *const value)
abyss_bool TableAddReplace (TTable *const t, const char *const name, const char *const value)
char * TableFind (TTable *const t, const char *const name)
abyss_bool TableFindIndex (TTable *const t, const char *const name, uint16_t *const index)
void TableFree (TTable *const t)
void TableInit (TTable *const t)


Typedef Documentation

typedef struct _TPoolZone TPoolZone


Function Documentation

abyss_bool ListAdd ( TList *const   listP,
void *const   str 
)

Definition at line 100 of file abyss_data.c.

References FALSE, TList::item, TList::maxsize, TList::size, and TRUE.

abyss_bool ListAddFromString ( TList *const   listP,
const char *const   c 
)

Definition at line 143 of file abyss_data.c.

References _TConn::buffer, FALSE, GetToken(), ListAdd(), NextToken(), TRUE, and xmlrpc_strfree().

abyss_bool ListFindString ( TList *const   listP,
const char *const   str,
uint16_t *const   indexP 
)

Definition at line 198 of file abyss_data.c.

References FALSE, TList::item, TList::size, and TRUE.

void ListFree ( TList *const   listP  ) 

Definition at line 69 of file abyss_data.c.

References TList::autofree, TList::item, TList::maxsize, NULL, and TList::size.

void ListFreeItems ( TList *const   listP  ) 

Definition at line 88 of file abyss_data.c.

References TList::item, and TList::size.

void ListInit ( TList *const   listP  ) 

Definition at line 52 of file abyss_data.c.

References TList::autofree, FALSE, TList::item, TList::maxsize, NULL, and TList::size.

void ListInitAutoFree ( TList *const   listP  ) 

Definition at line 59 of file abyss_data.c.

References TList::autofree, TList::item, TList::maxsize, NULL, TList::size, and TRUE.

void ListRemove ( TList *const   listP  ) 

Definition at line 130 of file abyss_data.c.

References TList::size.

Referenced by mimeTypeAdd().

void* PoolAlloc ( TPool *const   poolP,
uint32_t const   size 
)

abyss_bool PoolCreate ( TPool *const   poolP,
uint32_t const   zonesize 
)

void PoolFree ( TPool *const   poolP  ) 

Definition at line 612 of file abyss_data.c.

References TPool::firstzone, and _TPoolZone::next.

void PoolReturn ( TPool *const   poolP,
void *const   blockP 
)

const char* PoolStrdup ( TPool *const   poolP,
const char *const   origString 
)

Definition at line 626 of file abyss_data.c.

References NULL, and PoolAlloc().

abyss_bool TableAdd ( TTable *const   t,
const char *const   name,
const char *const   value 
)

abyss_bool TableAddReplace ( TTable *const   t,
const char *const   name,
const char *const   value 
)

char* TableFind ( TTable *const   t,
const char *const   name 
)

Definition at line 469 of file abyss_data.c.

References TTable::item, NULL, TableFindIndex(), and TTableItem::value.

abyss_bool TableFindIndex ( TTable *const   t,
const char *const   name,
uint16_t *const   index 
)

Definition at line 389 of file abyss_data.c.

References FALSE, TTableItem::hash, hash, Hash16(), TTable::item, TTableItem::name, TTable::size, and TRUE.

void TableFree ( TTable *const   t  ) 

Definition at line 367 of file abyss_data.c.

References TTable::item, TTableItem::name, TTable::size, TableInit(), and TTableItem::value.

void TableInit ( TTable *const   t  ) 

Definition at line 361 of file abyss_data.c.

References TTable::item, TTable::maxsize, NULL, and TTable::size.


Generated on Thu May 17 10:00:33 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6