Doubly-linked list
 All Classes Files Functions Variables Enumerations Enumerator Groups Pages
Public Attributes | List of all members
dlList Struct Reference

Doubly-linked list. More...

#include <doubly-linked_list.h>

Public Attributes

size_t size
 Number of nodes.
struct dlList_nodehead
 Pointer to first node.
struct dlList_nodetail
 Pointer to last node.
int(* compare )(const void *data1, const void *data2)
 Pointer to a user-supplied comparison function. May be NULL.
void(* destroy )(void *data)
 Pointer to a user-supplied node user-data destroy function. May be NULL.
void *(* copy )(const void *data)
 Pointer to a user-supplied function that makes a deep copy of a supplied user data. May be NULL, in which case data is always shared when nodes are copied.

Detailed Description

Doubly-linked list.


The documentation for this struct was generated from the following file: