#include "sf_sdlist.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Functions | |
int | sf_sdlist_init (sfSDList *list, void(*destroy)(void *data)) |
int | sf_sdlist_delete (sfSDList *list) |
int | sf_sdlist_insert_next (sfSDList *list, SDListItem *item, void *data, SDListItem *container) |
int | sf_sdlist_append (sfSDList *list, void *data, SDListItem *container) |
int | sf_sdlist_remove_next (sfSDList *list, SDListItem *item) |
int | sf_sdlist_remove (sfSDList *list, SDListItem *item) |
void | print_sdlist (sfSDList *a) |
|
Definition at line 223 of file sf_sdlist.c. References sfSDList::head, _SDListItem::next, NULL, and sfSDList::size. |
|
Definition at line 114 of file sf_sdlist.c. References sf_sdlist_insert_next(), and sfSDList::tail. Referenced by mempool_alloc(), mempool_free(), and mempool_init(). |
|
Definition at line 54 of file sf_sdlist.c. References sfSDList::head, NULL, and sf_sdlist_remove_next(). |
|
Definition at line 36 of file sf_sdlist.c. References sfSDList::destroy, sfSDList::head, NULL, sfSDList::size, and sfSDList::tail. Referenced by mempool_init(). |
|
Definition at line 76 of file sf_sdlist.c. References _SDListItem::data, sfSDList::head, _SDListItem::next, NULL, _SDListItem::prev, sfSDList::size, and sfSDList::tail. Referenced by sf_sdlist_append(). |
|
Definition at line 176 of file sf_sdlist.c. References _SDListItem::data, _SDListItem::next, NULL, and _SDListItem::prev. Referenced by mempool_alloc(), and mempool_free(). |
|
Definition at line 118 of file sf_sdlist.c. References _SDListItem::data, sfSDList::destroy, sfSDList::head, _SDListItem::next, NULL, _SDListItem::prev, sfSDList::size, and sfSDList::tail. Referenced by sf_sdlist_delete(). |