2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_STORE_FORWARD_H
10 #define SQUID_STORE_FORWARD_H
12 typedef int32_t sfileno
;
13 typedef signed int sdirno
;
15 /// maximum number of entries per cache_dir
16 enum { SwapFilenMax
= 0xFFFFFF }; // keep in sync with StoreEntry::swap_filen
19 typedef unsigned char cache_key
;
36 typedef ::StoreEntry Entry
;
37 typedef ::MemStore Memory
;
38 typedef ::Transients Transients
;
41 // TODO: Remove these once all code has been transitioned to Store namespace.
42 typedef Store::Controller StoreController
;
43 typedef Store::Disks StoreHashIndex
;
44 typedef Store::Disk SwapDir
;
45 template <class C
> class RefCount
;
46 typedef RefCount
<Store::Disk
> SwapDirPointer
;
48 #endif /* SQUID_STORE_FORWARD_H */