src/pcache.h

Go to the documentation of this file.
00001 /*
00002  * pcache.h
00003  */
00004 
00005 #ifndef __PCACHE_H__
00006 #define __PCACHE_H__
00007 #include "db.h"
00008 #include "cque.h"
00009 #include "rbtree.h"
00010 
00011 typedef struct player_cache {
00012     dbref player;
00013     int money;
00014     int queue;
00015     int qmax;
00016     int cflags;
00017     struct player_cache *next;
00018 } PCACHE;
00019 
00020 rbtree pcache_tree;
00021 PCACHE *pcache_head;
00022 
00023 #define PF_DEAD     0x0001
00024 #define PF_REF      0x0002
00025 #define PF_MONEY_CH 0x0004
00026 #define PF_QMAX_CH  0x0008
00027 
00028 #endif

Generated on Mon May 28 04:25:25 2007 for BattletechMUX by  doxygen 1.4.7