From 30ae3eb353c54ba06efab9b776efdec11983cb6b Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 17 Aug 2002 12:31:56 +0000 Subject: outta cache git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index 47f45517..858f0a8b 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.25 2002/08/06 09:02:59 in2 Exp $ */ +/* $Id: proto.h,v 1.26 2002/08/17 12:31:55 in2 Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -118,11 +118,11 @@ int get_fileheader_cache(int bid, char *direct, fileheader_t *headers, void *attach_shm(int shmkey, int shmsize); void attach_SHM(void); #ifdef OUTTA_CACHE -void outta_swapout(void **ptr, int length, char cacheid); -void outta_swapin(void **ptr, int length, char cacheid); +void *outta_malloc(size_t size, char id); +void outta_swapout(void **inptr); +void *outta_swapin(void **inptr, char cacheid); #endif - /* cal */ int give_tax(int money); int vice(int money, char* item); -- cgit v1.2.3