file_c.h.svn-base

btmux/src/.svn/text-base/file_c.h.svn-base · 755 B

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

Download the archive   « Back to the archive contents

/* file_c.h -- File cache header file */

/* $Id: file_c.h,v 1.3 2005/06/23 02:59:58 murrayma Exp $ */

#include "copyright.h"
#ifndef __FILE_C
#define	__FILE_C

#include "db.h"
#include "interface.h"

/* File caches.  These _must_ track the fcache array in file_c.c */

#define	FC_CONN		0
#define	FC_CONN_SITE	1
#define	FC_CONN_DOWN	2
#define	FC_CONN_FULL	3
#define	FC_CONN_GUEST	4
#define	FC_CONN_REG	5
#define	FC_CREA_NEW	6
#define	FC_CREA_REG	7
#define	FC_MOTD		8
#define	FC_WIZMOTD	9
#define	FC_QUIT		10
#define	FC_LAST		10

/* File cache routines */

extern void fcache_rawdump(int fd, int num);
extern void fcache_dump(DESC * d, int num);
extern void fcache_send(dbref, int);
extern void fcache_load(dbref);
extern void fcache_init(void);

#endif

Site Stats

Snippets: 1791
Codebases: 571