/* // ColdMUD was created and is copyright 1993, 1994 by Greg Hudson // // ColdX is a derivitive work, and is copyright 1995 by the ColdX Project. // Full copyright information can be found in the file doc/CREDITS // // File: cache.h // Version: 0.1-5 // Last Edited: 18 May 1995 // // --- // // Declarations for the object cache. */ #ifndef CACHE_H #define CACHE_H #include "object.h" void init_cache(void); Object *cache_get_holder(long dbref); Object *cache_retrieve(long dbref); Object *cache_grab(Object *object); void cache_discard(Object *obj); int cache_check(long dbref); void cache_sync(void); Object *cache_first(void); Object *cache_next(void); void cache_sanity_check(void); #endif