diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-06 17:03:02 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-06 17:03:02 +0800 |
commit | 82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80 (patch) | |
tree | c1cc14425fb3f3782b1a59ade16b917dde763186 /include | |
parent | a2ab3f51c0451a715fc57be7379a87ce547869ff (diff) | |
download | pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.gz pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.bz2 pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.lz pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.xz pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.zst pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.zip |
outta_swap
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h index 5e3d8f91..47f45517 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.24 2002/07/04 19:46:14 in2 Exp $ */ +/* $Id: proto.h,v 1.25 2002/08/06 09:02:59 in2 Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -117,6 +117,11 @@ int get_fileheader_cache(int bid, char *direct, fileheader_t *headers, int recbase, int nlines); 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); +#endif + /* cal */ int give_tax(int money); |