gslist.h File Reference

API published in:
API deprecated in:


#include <_ansi.h>
#include <glib/gmem.h>

Go to the source code of this file.


Data Structures

struct   _GSList

Defines

#define  g_slist_free1   g_slist_free_1
#define  g_slist_next(slist)   ((slist) ? (((GSList *)(slist))->next) : NULL)

Typedefs

typedef typedefG_BEGIN_DECLS
struct _GSList 
GSList

Functions

IMPORT_C GSList g_slist_alloc (void) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C void  g_slist_free (GSList *list)
IMPORT_C void  g_slist_free_1 (GSList *list)
IMPORT_C GSList g_slist_append (GSList *list, gpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_prepend (GSList *list, gpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_insert (GSList *list, gpointer data, gint position) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_insert_sorted (GSList *list, gpointer data, GCompareFunc func) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_insert_sorted_with_data (GSList *list, gpointer data, GCompareDataFunc func, gpointer user_data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_insert_before (GSList *slist, GSList *sibling, gpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_concat (GSList *list1, GSList *list2) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_remove (GSList *list, gconstpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_remove_all (GSList *list, gconstpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_remove_link (GSList *list, GSList *link_) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_delete_link (GSList *list, GSList *link_) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_reverse (GSList *list) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_copy (GSList *list) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_nth (GSList *list, guint n)
IMPORT_C GSList g_slist_find (GSList *list, gconstpointer data)
IMPORT_C GSList g_slist_find_custom (GSList *list, gconstpointer data, GCompareFunc func)
IMPORT_C gint  g_slist_position (GSList *list, GSList *llink)
IMPORT_C gint  g_slist_index (GSList *list, gconstpointer data)
IMPORT_C GSList g_slist_last (GSList *list)
IMPORT_C guint  g_slist_length (GSList *list)
IMPORT_C void  g_slist_foreach (GSList *list, GFunc func, gpointer user_data)
IMPORT_C GSList g_slist_sort (GSList *list, GCompareFunc compare_func) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GSList g_slist_sort_with_data (GSList *list, GCompareDataFunc compare_func, gpointer user_data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C gpointer  g_slist_nth_data (GSList *list, guint n)
IMPORT_C void  g_slist_push_allocator (gpointer dummy)
IMPORT_C void  g_slist_pop_allocator (void)

Define Documentation

#define g_slist_free1   g_slist_free_1
 
#define g_slist_next slist   )     ((slist) ? (((GSList *)(slist))->next) : NULL)
 

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _GSList GSList
 

Function Documentation

IMPORT_C GSList* g_slist_alloc void   ) 
 
IMPORT_C GSList* g_slist_append GSList list,
gpointer  data
 
IMPORT_C GSList* g_slist_concat GSList list1,
GSList list2
 
IMPORT_C GSList* g_slist_copy GSList list  ) 
 
IMPORT_C GSList* g_slist_delete_link GSList list,
GSList link_
 
IMPORT_C GSList* g_slist_find GSList list,
gconstpointer  data
 
IMPORT_C GSList* g_slist_find_custom GSList list,
gconstpointer  data,
GCompareFunc  func
 
IMPORT_C void g_slist_foreach GSList list,
GFunc  func,
gpointer  user_data
 
IMPORT_C void g_slist_free GSList list  ) 
 
IMPORT_C void g_slist_free_1 GSList list  ) 
 
IMPORT_C gint g_slist_index GSList list,
gconstpointer  data
 
IMPORT_C GSList* g_slist_insert GSList list,
gpointer  data,
gint  position
 
IMPORT_C GSList* g_slist_insert_before GSList slist,
GSList sibling,
gpointer  data
 
IMPORT_C GSList* g_slist_insert_sorted GSList list,
gpointer  data,
GCompareFunc  func
 
IMPORT_C GSList* g_slist_insert_sorted_with_data GSList list,
gpointer  data,
GCompareDataFunc  func,
gpointer  user_data
 
IMPORT_C GSList* g_slist_last GSList list  ) 
 
IMPORT_C guint g_slist_length GSList list  ) 
 
IMPORT_C GSList* g_slist_nth GSList list,
guint  n
 
IMPORT_C gpointer g_slist_nth_data GSList list,
guint  n
 
IMPORT_C void g_slist_pop_allocator void   ) 
 
IMPORT_C gint g_slist_position GSList list,
GSList llink
 
IMPORT_C GSList* g_slist_prepend GSList list,
gpointer  data
 
IMPORT_C void g_slist_push_allocator gpointer  dummy  ) 
 
IMPORT_C GSList* g_slist_remove GSList list,
gconstpointer  data
 
IMPORT_C GSList* g_slist_remove_all GSList list,
gconstpointer  data
 
IMPORT_C GSList* g_slist_remove_link GSList list,
GSList link_
 
IMPORT_C GSList* g_slist_reverse GSList list  ) 
 
IMPORT_C GSList* g_slist_sort GSList list,
GCompareFunc  compare_func
 
IMPORT_C GSList* g_slist_sort_with_data GSList list,
GCompareDataFunc  compare_func,
gpointer  user_data
 

Copyright © Nokia Corporation 2001-2008
Back to top