The Linked List Implementation
[The Implementations]

The linked list implementation. More...


Functions

EAPI Cmaid_Listcmaid_linked_list_new (const Cmaid_Value *v)
 Creates a new list using the hash implementation.

Variables

EAPI const Cmaid_List_Interface cmaid_linked_list_list_if
EAPI const const
Cmaid_Iter_Interface 
cmaid_linked_list_iter_if


Detailed Description

The linked list implementation.

The linked list is a double linked list implementation, providing a list class. Insert, append and prepend are O(1) operations.


Function Documentation

EAPI Cmaid_List* cmaid_linked_list_new ( const Cmaid_Value v  ) 

Creates a new list using the hash implementation.

Parameters:
v The value structure defining the type of the objects used in the list
Returns:
Returns a newly allocated list, if an allocation error occurs, NULL is returned This functions is creating a listt with the linked list as implementation.


Generated on Wed Aug 5 00:20:50 2009 for Cmaid by  doxygen 1.5.8