#include "xode.h"

Go to the source code of this file.
Data Structures | |
| struct | xode_pool_free |
Defines | |
| #define | _xode_pool__free free |
| #define | _xode_pool__malloc malloc |
Functions | |
| void | _xode_pool_cleanup_append (xode_pool p, struct xode_pool_free *pf) |
| struct xode_pool_free * | _xode_pool_free (xode_pool p, xode_pool_cleaner f, void *arg) |
| struct xode_pool_heap * | _xode_pool_heap (xode_pool p, int size) |
| void | _xode_pool_heapfree (void *arg) |
| xode_pool | _xode_pool_new (void) |
| xode_pool | _xode_pool_newheap (int bytes) |
| void | xode_pool_cleanup (xode_pool p, xode_pool_cleaner f, void *arg) |
| void | xode_pool_free (xode_pool p) |
| xode_pool | xode_pool_heap (const int bytes) |
| void * | xode_pool_malloc (xode_pool p, int size) |
| void * | xode_pool_malloco (xode_pool p, int size) |
| void * | xode_pool_mallocx (xode_pool p, int size, char c) |
| xode_pool | xode_pool_new (void) |
| int | xode_pool_size (xode_pool p) |
| char * | xode_pool_strdup (xode_pool p, const char *src) |
| char * | xode_pool_strdupx (xode_pool p, const char *src) |
| #define _xode_pool__free free |
Definition at line 46 of file jabber/xpool.c.
Referenced by _xode_pool_heapfree(), xode_pool_free(), and xode_pool_malloc().
| #define _xode_pool__malloc malloc |
Definition at line 45 of file jabber/xpool.c.
Referenced by _xode_pool_free(), _xode_pool_heap(), _xode_pool_new(), and xode_pool_malloc().
| void _xode_pool_cleanup_append | ( | xode_pool | p, | |
| struct xode_pool_free * | pf | |||
| ) |
Definition at line 80 of file jabber/xpool.c.
References xode_pool_struct::cleanup, xode_pool_free::next, and NULL.
Referenced by _xode_pool_heap(), and xode_pool_malloc().
| struct xode_pool_free* _xode_pool_free | ( | xode_pool | p, | |
| xode_pool_cleaner | f, | |||
| void * | arg | |||
| ) | [read] |
Definition at line 97 of file jabber/xpool.c.
References _xode_pool__malloc, xode_pool_free::arg, xode_pool_free::f, xode_pool_free::next, and NULL.
Referenced by _xode_pool_heap(), xode_pool_cleanup(), and xode_pool_malloc().
| struct xode_pool_heap* _xode_pool_heap | ( | xode_pool | p, | |
| int | size | |||
| ) | [read] |
Definition at line 111 of file jabber/xpool.c.
References _xode_pool__malloc, _xode_pool_cleanup_append(), _xode_pool_free(), _xode_pool_heapfree(), xode_pool_heap::block, xode_pool_free::heap, NULL, xode_pool_struct::size, xode_pool_heap::size, and xode_pool_heap::used.
Referenced by _xode_pool_newheap(), and xode_pool_malloc().
| void _xode_pool_heapfree | ( | void * | arg | ) |
Definition at line 71 of file jabber/xpool.c.
References _xode_pool__free, and xode_pool_heap::block.
Referenced by _xode_pool_heap().
| xode_pool _xode_pool_new | ( | void | ) |
Definition at line 59 of file jabber/xpool.c.
References _xode_pool__malloc, xode_pool_struct::cleanup, xode_pool_struct::heap, NULL, and xode_pool_struct::size.
Referenced by _xode_pool_newheap(), and xode_pool_new().
| xode_pool _xode_pool_newheap | ( | int | bytes | ) |
Definition at line 131 of file jabber/xpool.c.
References _xode_pool_heap(), _xode_pool_new(), and xode_pool_struct::heap.
Referenced by xode_pool_heap().
| void xode_pool_cleanup | ( | xode_pool | p, | |
| xode_pool_cleaner | f, | |||
| void * | arg | |||
| ) |
Definition at line 234 of file jabber/xpool.c.
| void xode_pool_free | ( | xode_pool | p | ) |
Definition at line 215 of file jabber/xpool.c.
| xode_pool xode_pool_heap | ( | const int | bytes | ) |
Definition at line 248 of file jabber/xpool.c.
| void* xode_pool_malloc | ( | xode_pool | p, | |
| int | size | |||
| ) |
Definition at line 139 of file jabber/xpool.c.
| void* xode_pool_malloco | ( | xode_pool | p, | |
| int | size | |||
| ) |
Definition at line 181 of file jabber/xpool.c.
| void* xode_pool_mallocx | ( | xode_pool | p, | |
| int | size, | |||
| char | c | |||
| ) |
Definition at line 172 of file jabber/xpool.c.
| xode_pool xode_pool_new | ( | void | ) |
Definition at line 243 of file jabber/xpool.c.
| int xode_pool_size | ( | xode_pool | p | ) |
Definition at line 208 of file jabber/xpool.c.
| char* xode_pool_strdup | ( | xode_pool | p, | |
| const char * | src | |||
| ) |
Definition at line 189 of file jabber/xpool.c.
| char* xode_pool_strdupx | ( | xode_pool | p, | |
| const char * | src | |||
| ) |
1.5.6