cache.h

ColdX-0.1-5/src/cache.h · 710 B

From the archive ColdX-0.1-5.tar.gz

Download the archive   « Back to the archive contents

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

Site Stats

Snippets: 1791
Codebases: 571