52typedef void * (*genlist_copy_fn_t) (
const void *);
120 int (*
compar) (
const void *,
const void *));
void genlist_insert(struct genlist *pgenlist, void *data, int idx)
void genlist_allocate_mutex(struct genlist *pgenlist)
void genlist_release_mutex(struct genlist *pgenlist)
void * genlist_get(const struct genlist *pgenlist, int idx)
bool(* genlist_cond_fn_t)(const void *)
void genlist_erase(struct genlist *pgenlist, struct genlist_link *plink)
struct genlist_link * genlist_search_if(const struct genlist *pgenlist, genlist_cond_fn_t cond_data_func)
void genlist_clear(struct genlist *pgenlist)
void genlist_prepend(struct genlist *pgenlist, void *data)
bool genlist_remove_if(struct genlist *pgenlist, genlist_cond_fn_t cond_data_func)
void genlist_append(struct genlist *pgenlist, void *data)
struct genlist * genlist_copy(const struct genlist *pgenlist) fc__warn_unused_result
bool(* genlist_comp_fn_t)(const void *, const void *)
static struct genlist_link * genlist_head(const struct genlist *pgenlist)
static void * genlist_link_data(const struct genlist_link *plink)
void genlist_unique_full(struct genlist *pgenlist, genlist_comp_fn_t comp_data_func)
struct genlist * genlist_copy_full(const struct genlist *pgenlist, genlist_copy_fn_t copy_data_func, genlist_free_fn_t free_data_func) fc__warn_unused_result
void genlist_destroy(struct genlist *pgenlist)
int genlist_remove_all(struct genlist *pgenlist, const void *data)
void genlist_pop_front(struct genlist *pgenlist)
void genlist_insert_before(struct genlist *pgenlist, void *data, struct genlist_link *plink)
void * genlist_back(const struct genlist *pgenlist)
int genlist_remove_all_if(struct genlist *pgenlist, genlist_cond_fn_t cond_data_func)
void genlist_unique(struct genlist *pgenlist)
void genlist_insert_after(struct genlist *pgenlist, void *data, struct genlist_link *plink)
void *(* genlist_copy_fn_t)(const void *)
void genlist_sort(struct genlist *pgenlist, int(*compar)(const void *, const void *))
struct genlist * genlist_new_full(genlist_free_fn_t free_data_func) fc__warn_unused_result
void genlist_reverse(struct genlist *pgenlist)
struct genlist_link * genlist_tail(const struct genlist *pgenlist)
struct genlist * genlist_new(void) fc__warn_unused_result
void * genlist_front(const struct genlist *pgenlist)
struct genlist_link * genlist_link_get(const struct genlist *pgenlist, int idx)
void genlist_pop_back(struct genlist *pgenlist)
void(* genlist_free_fn_t)(void *)
struct genlist_link * genlist_search(const struct genlist *pgenlist, const void *data)
static fc__warn_unused_result struct genlist_link * genlist_link_prev(const struct genlist_link *plink)
int genlist_size(const struct genlist *pgenlist)
void genlist_shuffle(struct genlist *pgenlist)
bool genlist_remove(struct genlist *pgenlist, const void *data)
static fc__warn_unused_result struct genlist_link * genlist_link_next(const struct genlist_link *plink)
struct genlist_link * prev
struct genlist_link * next
struct genlist_link * tail_link
struct genlist_link * head_link
genlist_free_fn_t free_data_func
#define fc__warn_unused_result