Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members  

list.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include "ps/list.h"

Go to the source code of this file.

Functions

PSListpsListAlloc (PSListDestroyFunc destroyFunc)
 Allocates and initializes a new PSList. More...

void psListFree (PSList *list)
 Frees up a PSList. More...

PSListNodepsListInsert (PSList *list, PSListNode *node, void *value)
 Creates and inserts a new PSListNode into list in front of node. More...

void psListDelete (PSList *list, PSListNode *node)
 Deletes the specifed node (and data) from list. More...

PSListNodepsListFirst (PSList *list)
 Gets the first node in list. More...

PSListNodepsListLast (PSList *list)
 Gets the last node in list. More...

PSListNodepsListNext (PSList *list, PSListNode *node)
 Gets the next node (following node) in list. More...

PSListNodepsListPrev (PSList *list, PSListNode *node)
 Gets the previous node (before node) in list. More...

long psListNumNodes (PSList *list)
 Gets the number of nodes (items) in list. More...

void* psListGetValue (PSList *list, PSListNode *node)
 Gets the value stored in list at node. More...

PSListNodepsListGetNode (PSList *list, long nodeNum)
 Get the nodeNum'th node in list. More...


Detailed Description


Generated at Mon Dec 11 22:46:29 2000 for Postscript Utility Library by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000