XMMS2
|
#include <assert.h>
#include <xmmscpriv/xmms_list.h>
#include <stdlib.h>
Macros | |
#define | _x_list_alloc x_list_alloc |
#define | _x_list_free_1 x_list_free_1 |
Functions | |
x_list_t * | x_list_alloc (void) |
void | x_list_free (x_list_t *list) |
void | x_list_free_1 (x_list_t *list) |
x_list_t * | x_list_append (x_list_t *list, void *data) |
x_list_t * | x_list_prepend (x_list_t *list, void *data) |
x_list_t * | x_list_insert (x_list_t *list, void *data, int position) |
x_list_t * | x_list_insert_before (x_list_t *list, x_list_t *sibling, void *data) |
x_list_t * | x_list_concat (x_list_t *list1, x_list_t *list2) |
x_list_t * | x_list_remove (x_list_t *list, const void *data) |
x_list_t * | x_list_remove_all (x_list_t *list, const void *data) |
x_list_t * | x_list_remove_link (x_list_t *list, x_list_t *link) |
x_list_t * | x_list_delete_link (x_list_t *list, x_list_t *link) |
x_list_t * | x_list_copy (x_list_t *list) |
x_list_t * | x_list_reverse (x_list_t *list) |
x_list_t * | x_list_nth (x_list_t *list, unsigned int n) |
x_list_t * | x_list_nth_prev (x_list_t *list, unsigned int n) |
void * | x_list_nth_data (x_list_t *list, unsigned int n) |
x_list_t * | x_list_find (x_list_t *list, const void *data) |
x_list_t * | x_list_find_custom (x_list_t *list, const void *data, XCompareFunc func) |
int | x_list_position (x_list_t *list, x_list_t *link) |
int | x_list_index (x_list_t *list, const void *data) |
x_list_t * | x_list_last (x_list_t *list) |
x_list_t * | x_list_first (x_list_t *list) |
unsigned int | x_list_length (x_list_t *list) |
void | x_list_foreach (x_list_t *list, XFunc func, void *user_data) |
x_list_t * | x_list_insert_sorted (x_list_t *list, void *data, XCompareFunc func) |
#define _x_list_alloc x_list_alloc |
Referenced by x_list_append(), x_list_copy(), x_list_insert(), x_list_insert_sorted(), and x_list_prepend().
#define _x_list_free_1 x_list_free_1 |
Referenced by x_list_delete_link(), x_list_remove(), and x_list_remove_all().
x_list_t* x_list_alloc | ( | void | ) |
Referenced by x_list_insert_before().
x_list_t* x_list_append | ( | x_list_t * | list, |
void * | data | ||
) |
Referenced by x_list_insert().
x_list_t* x_list_concat | ( | x_list_t * | list1, |
x_list_t * | list2 | ||
) |
x_list_t* x_list_copy | ( | x_list_t * | list | ) |
x_list_t* x_list_delete_link | ( | x_list_t * | list, |
x_list_t * | link | ||
) |
x_list_t* x_list_find | ( | x_list_t * | list, |
const void * | data | ||
) |
x_list_t* x_list_find_custom | ( | x_list_t * | list, |
const void * | data, | ||
XCompareFunc | func | ||
) |
x_list_t* x_list_first | ( | x_list_t * | list | ) |
void x_list_foreach | ( | x_list_t * | list, |
XFunc | func, | ||
void * | user_data | ||
) |
void x_list_free | ( | x_list_t * | list | ) |
void x_list_free_1 | ( | x_list_t * | list | ) |
int x_list_index | ( | x_list_t * | list, |
const void * | data | ||
) |
x_list_t* x_list_insert | ( | x_list_t * | list, |
void * | data, | ||
int | position | ||
) |
x_list_t* x_list_insert_before | ( | x_list_t * | list, |
x_list_t * | sibling, | ||
void * | data | ||
) |
x_list_t* x_list_insert_sorted | ( | x_list_t * | list, |
void * | data, | ||
XCompareFunc | func | ||
) |
x_list_t* x_list_last | ( | x_list_t * | list | ) |
Referenced by x_list_append(), and x_list_concat().
unsigned int x_list_length | ( | x_list_t * | list | ) |
x_list_t* x_list_nth | ( | x_list_t * | list, |
unsigned int | n | ||
) |
Referenced by x_list_insert().
void* x_list_nth_data | ( | x_list_t * | list, |
unsigned int | n | ||
) |
x_list_t* x_list_nth_prev | ( | x_list_t * | list, |
unsigned int | n | ||
) |
int x_list_position | ( | x_list_t * | list, |
x_list_t * | link | ||
) |
x_list_t* x_list_prepend | ( | x_list_t * | list, |
void * | data | ||
) |
Referenced by x_list_insert().
x_list_t* x_list_remove | ( | x_list_t * | list, |
const void * | data | ||
) |
x_list_t* x_list_remove_all | ( | x_list_t * | list, |
const void * | data | ||
) |
x_list_t* x_list_remove_link | ( | x_list_t * | list, |
x_list_t * | link | ||
) |
x_list_t* x_list_reverse | ( | x_list_t * | list | ) |