/*
- * $Id$
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
*
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
*/
#ifndef SQUID_IPC_MEM_PAGES_H
/// converts page handler into a temporary writeable shared memory pointer
char *PagePointer(const PageId &page);
-
/* Limits and statistics */
/// the total number of shared memory pages that can be in use at any time
/// returns page size in bytes; all pages are assumed to be the same size
size_t PageSize();
+/// claim the need for a number of pages for a given purpose
+void NotePageNeed(const int purpose, const int count);
+
} // namespace Mem
} // namespace Ipc
#endif // SQUID_IPC_MEM_PAGES_H
+