00001 00002 /* file_c.h -- File cache header file */ 00003 00004 /* $Id: file_c.h,v 1.3 2005/06/23 02:59:58 murrayma Exp $ */ 00005 00006 #include "copyright.h" 00007 #ifndef __FILE_C 00008 #define __FILE_C 00009 00010 #include "db.h" 00011 #include "interface.h" 00012 00013 /* File caches. These _must_ track the fcache array in file_c.c */ 00014 00015 #define FC_CONN 0 00016 #define FC_CONN_SITE 1 00017 #define FC_CONN_DOWN 2 00018 #define FC_CONN_FULL 3 00019 #define FC_CONN_GUEST 4 00020 #define FC_CONN_REG 5 00021 #define FC_CREA_NEW 6 00022 #define FC_CREA_REG 7 00023 #define FC_MOTD 8 00024 #define FC_WIZMOTD 9 00025 #define FC_QUIT 10 00026 #define FC_LAST 10 00027 00028 /* File cache routines */ 00029 00030 extern void fcache_rawdump(int fd, int num); 00031 extern void fcache_dump(DESC * d, int num); 00032 extern void fcache_send(dbref, int); 00033 extern void fcache_load(dbref); 00034 extern void fcache_init(void); 00035 00036 #endif