Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Functions
index.h File Reference

Go to the source code of this file.

Functions

struct indexindex_new (void)
void index_free (struct index *index)
gint index_count (struct index *index)
void index_allocate (struct index *index, gint size)
void index_set (struct index *index, gint at, void *value)
void * index_get (struct index *index, gint at)
void index_insert (struct index *index, gint at, void *value)
void index_append (struct index *index, void *value)
void index_copy_set (struct index *source, gint from, struct index *target, gint to, gint count)
void index_copy_insert (struct index *source, gint from, struct index *target, gint to, gint count)
void index_copy_append (struct index *source, gint from, struct index *target, gint count)
void index_merge_insert (struct index *first, gint at, struct index *second)
void index_merge_append (struct index *first, struct index *second)
void index_move (struct index *index, gint from, gint to, gint count)
void index_delete (struct index *index, gint at, gint count)
void index_sort (struct index *index, gint(*compare)(const void *a, const void *b))
void index_sort_with_data (struct index *index, gint(*compare)(const void *a, const void *b, void *data), void *data)

Function Documentation

void index_allocate ( struct index index,
gint  size 
)
void index_append ( struct index index,
void *  value 
)
void index_copy_append ( struct index source,
gint  from,
struct index target,
gint  count 
)

Definition at line 120 of file index.c.

Referenced by playlist_reorder().

void index_copy_insert ( struct index source,
gint  from,
struct index target,
gint  to,
gint  count 
)

Definition at line 113 of file index.c.

Referenced by index_copy_append(), index_merge_append(), and index_merge_insert().

void index_copy_set ( struct index source,
gint  from,
struct index target,
gint  to,
gint  count 
)

Definition at line 107 of file index.c.

Referenced by playlist_reorder(), and playlist_shift().

gint index_count ( struct index index)
void index_delete ( struct index index,
gint  at,
gint  count 
)

Definition at line 141 of file index.c.

Referenced by playlist_delete(), and playlist_entry_delete().

void index_free ( struct index index)
void* index_get ( struct index index,
gint  at 
)
void index_insert ( struct index index,
gint  at,
void *  value 
)

Definition at line 96 of file index.c.

Referenced by index_append(), playlist_delete(), and playlist_insert().

void index_merge_append ( struct index first,
struct index second 
)

Definition at line 131 of file index.c.

void index_merge_insert ( struct index first,
gint  at,
struct index second 
)

Definition at line 126 of file index.c.

Referenced by playlist_entry_insert_batch_raw().

void index_move ( struct index index,
gint  from,
gint  to,
gint  count 
)

Definition at line 136 of file index.c.

Referenced by playlist_reorder().

struct index* index_new ( void  ) [read]
void index_set ( struct index index,
gint  at,
void *  value 
)

Definition at line 75 of file index.c.

Referenced by add_worker(), playlist_randomize(), and sort_selected().

void index_sort ( struct index index,
gint(*)(const void *a, const void *b compare 
)
void index_sort_with_data ( struct index index,
gint(*)(const void *a, const void *b, void *data compare,
void *  data 
)

Definition at line 171 of file index.c.

Referenced by sort(), and sort_selected().