pcache.h

btmux-0.6-rc4/src/pcache.h · 425 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

/*
 * pcache.h
 */

#ifndef __PCACHE_H__
#define __PCACHE_H__
#include "db.h"
#include "cque.h"
#include "rbtree.h"

typedef struct player_cache {
    dbref player;
    int money;
    int queue;
    int qmax;
    int cflags;
    struct player_cache *next;
} PCACHE;

rbtree pcache_tree;
PCACHE *pcache_head;

#define PF_DEAD     0x0001
#define PF_REF      0x0002
#define PF_MONEY_CH 0x0004
#define PF_QMAX_CH  0x0008

#endif

Site Stats

Snippets: 1791
Codebases: 571