Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

Doubly Linked List
[Basic Components]


Detailed Description

doubly linked list support

Author:
vincent penne


Functions

 dlist_insert (var o, var ofirst, var olast, var i, var iprev, var inext, var iowner)
 insert a new element in list as first element (or as last simply by swaping ofirst and olast, iprev and inext).

 dlist_remove (var ofirst, var olast, var i, var iprev, var inext, var iowner)
 remove an element from a list.


Function Documentation

dlist_insert var  o,
var  ofirst,
var  olast,
var  i,
var  iprev,
var  inext,
var  iowner
 

insert a new element in list as first element (or as last simply by swaping ofirst and olast, iprev and inext).

Parameters:
o owner
ofirst index in the owner pointing to first element of list
olast index in the owner pointing to last element of list
i item to insert
iprev index in the item of prev element
inext index in the item of next element
iowner index in the item of owner element

dlist_remove var  ofirst,
var  olast,
var  i,
var  iprev,
var  inext,
var  iowner
 

remove an element from a list.

Parameters:
ofirst index in the owner pointing to first element of list
olast index in the owner pointing to last element of list
i item to insert
iprev index in the item of prev element
inext index in the item of next element
iowner index in the item of owner element


dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6