attrcache.h
mux2.6/src/attrcache.h · 582 B
From the archive mux-2.6.0.1.unix.tar.gz
Download the archive « Back to the archive contents
// attrcache.h
//
// $Id: attrcache.h,v 1.5 2006/01/11 11:13:40 jake Exp $
//
#ifndef _ATTRCACHE_H
#define _ATTRCACHE_H
typedef struct Aname
{
unsigned int object;
unsigned int attrnum;
} Aname;
extern const char *cache_get(Aname *nam, size_t *pLen);
extern bool cache_put(Aname *nam, const char *obj, size_t len);
extern int cache_init(const char *game_dir_file, const char *game_pag_file,
int nCachePages);
extern void cache_close(void);
extern void cache_tick(void);
extern bool cache_sync(void);
extern void cache_del(Aname *nam);
#endif // !_ATTRCACHE_H