#include "abyss_thread.h"


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 struct _TPoolZone TPoolZone |
| 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 | |||
| ) |
| 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 | ) |
| 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 | ) |
| void* PoolAlloc | ( | TPool *const | poolP, | |
| uint32_t const | size | |||
| ) |
Definition at line 539 of file abyss_data.c.
References TPool::currentzone, _TPoolZone::data, MAX, TPool::mutex, MutexLock(), MutexUnlock(), _TPoolZone::next, NULL, PoolZoneAlloc(), _TPoolZone::pos, _TPoolZone::prev, and TPool::zonesize.
| abyss_bool PoolCreate | ( | TPool *const | poolP, | |
| uint32_t const | zonesize | |||
| ) |
Definition at line 510 of file abyss_data.c.
References TPool::currentzone, FALSE, TPool::firstzone, TPool::mutex, MutexCreate(), MutexFree(), NULL, PoolZoneAlloc(), TRUE, and TPool::zonesize.
| void PoolFree | ( | TPool *const | poolP | ) |
| void PoolReturn | ( | TPool *const | poolP, | |
| void *const | blockP | |||
| ) |
Definition at line 583 of file abyss_data.c.
References TPool::currentzone, _TPoolZone::data, _TPoolZone::next, NULL, PoolZoneFree(), _TPoolZone::pos, and _TPoolZone::prev.
Referenced by mimeTypeAdd().
| const char* PoolStrdup | ( | TPool *const | poolP, | |
| const char *const | origString | |||
| ) |
| abyss_bool TableAdd | ( | TTable *const | t, | |
| const char *const | name, | |||
| const char *const | value | |||
| ) |
Definition at line 439 of file abyss_data.c.
References FALSE, TTableItem::hash, Hash16(), TTable::item, TTable::maxsize, TTableItem::name, TTable::size, TRUE, and TTableItem::value.
| abyss_bool TableAddReplace | ( | TTable *const | t, | |
| const char *const | name, | |||
| const char *const | value | |||
| ) |
Definition at line 412 of file abyss_data.c.
References TTable::item, TTableItem::name, TTable::size, TableAdd(), TableFindIndex(), TRUE, and TTableItem::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.
1.5.6