glist.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   _GList

Defines

#define  g_list_free1   g_list_free_1
#define  g_list_previous(list)   ((list) ? (((GList *)(list))->prev) : NULL)
#define  g_list_next(list)   ((list) ? (((GList *)(list))->next) : NULL)

Typedefs

typedef typedefG_BEGIN_DECLS
struct _GList 
GList

Functions

IMPORT_C GList g_list_alloc (void)
IMPORT_C void  g_list_free (GList *list)
IMPORT_C void  g_list_free_1 (GList *list)
IMPORT_C GList g_list_append (GList *list, gpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_prepend (GList *list, gpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_insert (GList *list, gpointer data, gint position) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_insert_sorted (GList *list, gpointer data, GCompareFunc func) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_insert_sorted_with_data (GList *list, gpointer data, GCompareDataFunc func, gpointer user_data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_insert_before (GList *list, GList *sibling, gpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_concat (GList *list1, GList *list2) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_remove (GList *list, gconstpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_remove_all (GList *list, gconstpointer data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_remove_link (GList *list, GList *llink) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_delete_link (GList *list, GList *link_) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_reverse (GList *list)
IMPORT_C GList g_list_copy (GList *list)
IMPORT_C GList g_list_nth (GList *list, guint n)
IMPORT_C GList g_list_nth_prev (GList *list, guint n)
IMPORT_C GList g_list_find (GList *list, gconstpointer data)
IMPORT_C GList g_list_find_custom (GList *list, gconstpointer data, GCompareFunc func)
IMPORT_C gint  g_list_position (GList *list, GList *llink)
IMPORT_C gint  g_list_index (GList *list, gconstpointer data)
IMPORT_C GList g_list_last (GList *list)
IMPORT_C GList g_list_first (GList *list)
IMPORT_C guint  g_list_length (GList *list)
IMPORT_C void  g_list_foreach (GList *list, GFunc func, gpointer user_data)
IMPORT_C GList g_list_sort (GList *list, GCompareFunc compare_func) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C GList g_list_sort_with_data (GList *list, GCompareDataFunc compare_func, gpointer user_data) G_GNUC_WARN_UNUSED_RESULT
IMPORT_C gpointer  g_list_nth_data (GList *list, guint n)
IMPORT_C void  g_list_push_allocator (gpointer allocator)
IMPORT_C void  g_list_pop_allocator (void)

Define Documentation

#define g_list_free1   g_list_free_1
 
#define g_list_next list   )     ((list) ? (((GList *)(list))->next) : NULL)
 
#define g_list_previous list   )     ((list) ? (((GList *)(list))->prev) : NULL)
 

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _GList GList
 

Function Documentation

IMPORT_C GList* g_list_alloc void   ) 
 
IMPORT_C GList* g_list_append GList list,
gpointer  data
 
IMPORT_C GList* g_list_concat GList list1,
GList list2
 
IMPORT_C GList* g_list_copy GList list  ) 
 
IMPORT_C GList* g_list_delete_link GList list,
GList link_
 
IMPORT_C GList* g_list_find GList list,
gconstpointer  data
 
IMPORT_C GList* g_list_find_custom GList list,
gconstpointer  data,
GCompareFunc  func
 
IMPORT_C GList* g_list_first GList list  ) 
 
IMPORT_C void g_list_foreach GList list,
GFunc  func,
gpointer  user_data
 
IMPORT_C void g_list_free GList list  ) 
 
IMPORT_C void g_list_free_1 GList list  ) 
 
IMPORT_C gint g_list_index GList list,
gconstpointer  data
 
IMPORT_C GList* g_list_insert GList list,
gpointer  data,
gint  position
 
IMPORT_C GList* g_list_insert_before GList list,
GList sibling,
gpointer  data
 
IMPORT_C GList* g_list_insert_sorted GList list,
gpointer  data,
GCompareFunc  func
 
IMPORT_C GList* g_list_insert_sorted_with_data GList list,
gpointer  data,
GCompareDataFunc  func,
gpointer  user_data
 
IMPORT_C GList* g_list_last GList list  ) 
 
IMPORT_C guint g_list_length GList list  ) 
 
IMPORT_C GList* g_list_nth GList list,
guint  n
 
IMPORT_C gpointer g_list_nth_data GList list,
guint  n
 
IMPORT_C GList* g_list_nth_prev GList list,
guint  n
 
IMPORT_C void g_list_pop_allocator void   ) 
 
IMPORT_C gint g_list_position GList list,
GList llink
 
IMPORT_C GList* g_list_prepend GList list,
gpointer  data
 
IMPORT_C void g_list_push_allocator gpointer  allocator  ) 
 
IMPORT_C GList* g_list_remove GList list,
gconstpointer  data
 
IMPORT_C GList* g_list_remove_all GList list,
gconstpointer  data
 
IMPORT_C GList* g_list_remove_link GList list,
GList llink
 
IMPORT_C GList* g_list_reverse GList list  ) 
 
IMPORT_C GList* g_list_sort GList list,
GCompareFunc  compare_func
 
IMPORT_C GList* g_list_sort_with_data GList list,
GCompareDataFunc  compare_func,
gpointer  user_data
 

Copyright © Nokia Corporation 2001-2008
Back to top