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