/*	--------------------------------------------------------------------------------------

	Copyright © 1991, Apple Computer, Inc, All Rights Reserved.
	
	File:		DiskCacheList.proto
		
	Author:		John Farmer
	
	Contains:	Prototype information for the file DiskCacheList.c.
	
	Revisions: (most recent first):
	
		ID		Date		Description
		
		<1>		07/17/91	John Farmer - Created file.
														
	-----------------------------------------------------------------------------------  */


#ifndef			__DiskCacheListPrototypes__
#define			__DiskCacheListPrototypes__


// Include Statements


	#include		"Memory.h"
	#include		"DiskCacheExtensions.h"


// Prototypes


	DiskCacheIndex	FindFirstFreeCache( DiskCacheMapStructureHandle diskCacheMapHandle );
	void			InsertDiskCacheIntoOffsetList( DiskCacheIndex cacheIndex, DiskCacheIndex nextCacheIndex, DiskCacheMapStructureHandle diskCacheMapHandle );
	void			InsertDiskCacheIntoDateList( DiskCacheIndex cacheIndex, DiskCacheIndex nextCacheIndex, DiskCacheMapStructureHandle diskCacheMapHandle );
	OSErr			InsertDiskCache( DiskCacheIndex *cacheIndexPointer, DiskCacheIndex nextCacheIndex, DiskCacheEntryStructure sourceCacheEntry, DiskCacheMapStructureHandle diskCacheMapHandle );
	void			RemoveDiskCacheFromOffsetList( DiskCacheIndex cacheIndex, DiskCacheMapStructureHandle diskCacheMapHandle );
	void			RemoveDiskCacheFromDateList( DiskCacheIndex cacheIndex, DiskCacheMapStructureHandle diskCacheMapHandle );
	OSErr			RemoveDiskCache( DiskCacheIndex cacheIndex, DiskCacheMapStructureHandle diskCacheMapHandle );

	
#endif			__DiskCacheListPrototypes__