mux/src/attrcache.h

Go to the documentation of this file.
00001 // attrcache.h
00002 //
00003 // $Id: attrcache.h,v 1.4 2004/07/07 18:34:35 sdennis Exp $
00004 //
00005 
00006 #ifndef _ATTRCACHE_H
00007 #define _ATTRCACHE_H
00008 
00009 typedef struct Aname
00010 {
00011     unsigned int    object;
00012     unsigned int    attrnum;
00013 } Aname;
00014 
00015 extern const char *cache_get(Aname *nam, int *pLen);
00016 extern bool cache_put(Aname *nam, const char *obj, size_t len);
00017 extern int  cache_init(const char *game_dir_file, const char *game_pag_file,
00018     int nCachePages);
00019 extern void cache_close(void);
00020 extern void cache_tick(void);
00021 extern bool cache_sync(void);
00022 extern void cache_del(Aname *nam);
00023 
00024 #endif // !_ATTRCACHE_H

Generated on Mon May 28 04:40:07 2007 for MUX by  doxygen 1.4.7