src/includepriv/xmmspriv/xmms_list.h File Reference

#include "xmmsclientpriv/xmmsclient_util.h"

Go to the source code of this file.

Data Structures

struct  _x_list_t

Defines

#define x_list_previous(list)   ((list) ? (((x_list_t *)(list))->prev) : NULL)
#define x_list_next(list)   ((list) ? (((x_list_t *)(list))->next) : NULL)

Typedefs

typedef struct _x_list_t x_list_t

Functions

x_list_tx_list_alloc (void)
void x_list_free (x_list_t *list)
void x_list_free_1 (x_list_t *list)
x_list_tx_list_append (x_list_t *list, void *data)
x_list_tx_list_prepend (x_list_t *list, void *data)
x_list_tx_list_insert (x_list_t *list, void *data, int position)
x_list_tx_list_insert_sorted (x_list_t *list, void *data, XCompareFunc func)
x_list_tx_list_insert_before (x_list_t *list, x_list_t *sibling, void *data)
x_list_tx_list_concat (x_list_t *list1, x_list_t *list2)
x_list_tx_list_remove (x_list_t *list, const void *data)
x_list_tx_list_remove_all (x_list_t *list, const void *data)
x_list_tx_list_remove_link (x_list_t *list, x_list_t *llink)
x_list_tx_list_delete_link (x_list_t *list, x_list_t *link_)
x_list_tx_list_reverse (x_list_t *list)
x_list_tx_list_copy (x_list_t *list)
x_list_tx_list_nth (x_list_t *list, unsigned int n)
x_list_tx_list_nth_prev (x_list_t *list, unsigned int n)
x_list_tx_list_find (x_list_t *list, const void *data)
x_list_tx_list_find_custom (x_list_t *list, const void *data, XCompareFunc func)
int x_list_position (x_list_t *list, x_list_t *llink)
int x_list_index (x_list_t *list, const void *data)
x_list_tx_list_last (x_list_t *list)
x_list_tx_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)
void * x_list_nth_data (x_list_t *list, unsigned int n)

Define Documentation

#define x_list_next ( list   )     ((list) ? (((x_list_t *)(list))->next) : NULL)

Definition at line 98 of file xmms_list.h.

#define x_list_previous ( list   )     ((list) ? (((x_list_t *)(list))->prev) : NULL)

Definition at line 97 of file xmms_list.h.


Typedef Documentation

typedef struct _x_list_t x_list_t

Definition at line 36 of file xmms_list.h.


Function Documentation

x_list_t* x_list_alloc ( void   ) 

Definition at line 35 of file xlist.c.

Referenced by x_list_insert_before().

x_list_t* x_list_append ( x_list_t list,
void *  data 
)

Definition at line 64 of file xlist.c.

Referenced by x_list_insert().

x_list_t* x_list_concat ( x_list_t list1,
x_list_t list2 
)

Definition at line 179 of file xlist.c.

x_list_t* x_list_copy ( x_list_t list  ) 

Definition at line 284 of file xlist.c.

x_list_t* x_list_delete_link ( x_list_t list,
x_list_t link_ 
)

Definition at line 275 of file xlist.c.

x_list_t* x_list_find ( x_list_t list,
const void *  data 
)

Definition at line 351 of file xlist.c.

x_list_t* x_list_find_custom ( x_list_t list,
const void *  data,
XCompareFunc  func 
)

Definition at line 363 of file xlist.c.

x_list_t* x_list_first ( x_list_t list  ) 

Definition at line 421 of file xlist.c.

void x_list_foreach ( x_list_t list,
XFunc  func,
void *  user_data 
)

Definition at line 446 of file xlist.c.

void x_list_free ( x_list_t list  ) 

Definition at line 45 of file xlist.c.

void x_list_free_1 ( x_list_t list  ) 

Definition at line 58 of file xlist.c.

int x_list_index ( x_list_t list,
const void *  data 
)

Definition at line 394 of file xlist.c.

x_list_t* x_list_insert ( x_list_t list,
void *  data,
int  position 
)

Definition at line 105 of file xlist.c.

x_list_t* x_list_insert_before ( x_list_t list,
x_list_t sibling,
void *  data 
)

Definition at line 138 of file xlist.c.

x_list_t* x_list_insert_sorted ( x_list_t list,
void *  data,
XCompareFunc  func 
)

Definition at line 457 of file xlist.c.

x_list_t* x_list_last ( x_list_t list  ) 

Definition at line 410 of file xlist.c.

Referenced by x_list_append(), and x_list_concat().

unsigned int x_list_length ( x_list_t list  ) 

Definition at line 432 of file xlist.c.

x_list_t* x_list_nth ( x_list_t list,
unsigned int  n 
)

Definition at line 324 of file xlist.c.

Referenced by x_list_insert().

void* x_list_nth_data ( x_list_t list,
unsigned int  n 
)

Definition at line 342 of file xlist.c.

x_list_t* x_list_nth_prev ( x_list_t list,
unsigned int  n 
)

Definition at line 333 of file xlist.c.

int x_list_position ( x_list_t list,
x_list_t llink 
)

Definition at line 378 of file xlist.c.

x_list_t* x_list_prepend ( x_list_t list,
void *  data 
)

Definition at line 85 of file xlist.c.

Referenced by x_list_insert().

x_list_t* x_list_remove ( x_list_t list,
const void *  data 
)

Definition at line 197 of file xlist.c.

x_list_t* x_list_remove_all ( x_list_t list,
const void *  data 
)

Definition at line 223 of file xlist.c.

x_list_t* x_list_remove_link ( x_list_t list,
x_list_t llink 
)

Definition at line 269 of file xlist.c.

x_list_t* x_list_reverse ( x_list_t list  ) 

Definition at line 308 of file xlist.c.


Generated on Tue Feb 23 18:14:36 2010 for XMMS2 by  doxygen 1.6.1