GenLinkedList.c File Reference

#include "GenLinkedList.h"

Include dependency graph for GenLinkedList.c:

Go to the source code of this file.

Classes

struct  GenNode

Typedefs

typedef GenNode GenNode

Functions

void InitLinkedList (GenLinkedList *pList, DisposeDataProcPtr disposeProcPtr)
ItemCount GetNumberOfItems (GenLinkedList *pList)
OSErr AddToTail (GenLinkedList *pList, void *pData)
void InsertList (GenLinkedList *pDestList, GenLinkedList *pSrcList, GenIteratorPtr pIter)
void DestroyList (GenLinkedList *pList)
void InitIterator (GenLinkedList *pList, GenIteratorPtr *pIter)
void Next (GenIteratorPtr *pIter)
GenDataPtr GetData (GenIteratorPtr pIter)


Typedef Documentation

typedef struct GenNode GenNode

Definition at line 63 of file GenLinkedList.c.


Function Documentation

OSErr AddToTail ( GenLinkedList pList,
void pData 
)

Definition at line 89 of file GenLinkedList.c.

References NULL, GenLinkedList::NumberOfItems, GenNode::pData, GenLinkedList::pHead, GenNode::pNext, and GenLinkedList::pTail.

Referenced by CopyFolder(), FSCopyFolder(), and OpenAllForks().

void DestroyList ( GenLinkedList pList  ) 

Definition at line 165 of file GenLinkedList.c.

References CallDisposeDataProc, GenLinkedList::DisposeProcPtr, GetData(), InitIterator(), InitLinkedList(), Next(), and NULL.

Referenced by CopyForksToDropBox(), and FSCopyFolder().

GenDataPtr GetData ( GenIteratorPtr  pIter  ) 

Definition at line 209 of file GenLinkedList.c.

References NULL.

Referenced by CopyForksToDropBox(), DestroyList(), and ProcessFolderList().

ItemCount GetNumberOfItems ( GenLinkedList pList  ) 

Definition at line 82 of file GenLinkedList.c.

References GenLinkedList::NumberOfItems.

Referenced by FSCopyFolder().

void InitIterator ( GenLinkedList pList,
GenIteratorPtr pIter 
)

Definition at line 194 of file GenLinkedList.c.

References NULL, and GenLinkedList::pHead.

Referenced by CopyForksToDropBox(), DestroyList(), and ProcessFolderList().

void InitLinkedList ( GenLinkedList pList,
DisposeDataProcPtr  disposeProcPtr 
)

Definition at line 70 of file GenLinkedList.c.

References GenLinkedList::DisposeProcPtr, NULL, GenLinkedList::NumberOfItems, GenLinkedList::pHead, and GenLinkedList::pTail.

Referenced by CopyFolder(), CopyForksToDropBox(), DestroyList(), FSCopyFolder(), and InsertList().

void InsertList ( GenLinkedList pDestList,
GenLinkedList pSrcList,
GenIteratorPtr  pIter 
)

Definition at line 125 of file GenLinkedList.c.

References GenLinkedList::DisposeProcPtr, InitLinkedList(), NULL, GenLinkedList::NumberOfItems, GenLinkedList::pHead, GenNode::pNext, and GenLinkedList::pTail.

void Next ( GenIteratorPtr pIter  ) 

Definition at line 202 of file GenLinkedList.c.

References NULL.

Referenced by CopyForksToDropBox(), DestroyList(), and ProcessFolderList().


Generated on Thu Jul 1 06:10:04 2010 for Second Life Viewer by  doxygen 1.4.7