mac-rom/Toolbox/FontMgr/DiskCache/Prototype/DiskCacheList.proto
Elliot Nunn 4325cdcc78 Bring in CubeE sources
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included.

The Tools directory, containing mostly junk, is also excluded.
2017-12-26 09:52:23 +08:00

43 lines
1.6 KiB
Protocol Buffer

/* --------------------------------------------------------------------------------------
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__