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

Go to the source code of this file.

Functions

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

Function Documentation

void index_allocate ( Index *  index,
int  size 
)
void index_append ( Index *  index,
void *  value 
)
void index_copy_append ( Index *  source,
int  from,
Index *  target,
int  count 
)

Definition at line 123 of file index.c.

Referenced by playlist_reorder().

void index_copy_insert ( Index *  source,
int  from,
Index *  target,
int  to,
int  count 
)

Definition at line 116 of file index.c.

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

void index_copy_set ( Index *  source,
int  from,
Index *  target,
int  to,
int  count 
)

Definition at line 110 of file index.c.

Referenced by playlist_reorder(), and playlist_shift().

int index_count ( Index *  index)
void index_delete ( Index *  index,
int  at,
int  count 
)

Definition at line 144 of file index.c.

Referenced by playlist_delete(), and playlist_entry_delete().

void index_free ( Index *  index)
void* index_get ( Index *  index,
int  at 
)
void index_insert ( Index *  index,
int  at,
void *  value 
)

Definition at line 99 of file index.c.

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

void index_merge_append ( Index *  first,
Index *  second 
)

Definition at line 134 of file index.c.

void index_merge_insert ( Index *  first,
int  at,
Index *  second 
)

Definition at line 129 of file index.c.

Referenced by playlist_entry_insert_batch_raw().

void index_move ( Index *  index,
int  from,
int  to,
int  count 
)

Definition at line 139 of file index.c.

Referenced by playlist_reorder().

Index* index_new ( void  )
void index_set ( Index *  index,
int  at,
void *  value 
)

Definition at line 78 of file index.c.

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

void index_sort ( Index *  index,
int(*)(const void *a, const void *b compare 
)
void index_sort_with_data ( Index *  index,
int(*)(const void *a, const void *b, void *data compare,
void *  data 
)

Definition at line 170 of file index.c.

Referenced by sort(), and sort_selected().