GenLinkedList.h File Reference

Mac OSX updater program. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GenLinkedList

Defines

#define CallDisposeDataProc(userRoutine, pData)   (*(userRoutine))((pData))

Typedefs

typedef voidGenIteratorPtr
typedef voidGenDataPtr
typedef GenLinkedList GenLinkedList

Functions

typedef CALLBACK_API (void, DisposeDataProcPtr)(GenDataPtr pData)
void InitLinkedList (GenLinkedList *pList, DisposeDataProcPtr disposeProcPtr)
ItemCount GetNumberOfItems (GenLinkedList *pList)
OSErr AddToTail (GenLinkedList *pList, GenDataPtr 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)


Detailed Description

Mac OSX updater program.

LicenseInfo
firstyear=2004&license=viewergpl

Copyright (c) 2004-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file GenLinkedList.h.


Define Documentation

#define CallDisposeDataProc ( userRoutine,
pData   )     (*(userRoutine))((pData))

Definition at line 99 of file GenLinkedList.h.

Referenced by DestroyList().


Typedef Documentation

typedef void* GenDataPtr

Definition at line 92 of file GenLinkedList.h.

typedef void* GenIteratorPtr

Definition at line 91 of file GenLinkedList.h.

typedef struct GenLinkedList GenLinkedList

Definition at line 108 of file GenLinkedList.h.


Function Documentation

OSErr AddToTail ( GenLinkedList pList,
GenDataPtr  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().

typedef CALLBACK_API ( void  ,
DisposeDataProcPtr   
)

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