1 /* 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors 3 * 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. 7 */ 8 9 /* DEBUG: section 16 Cache Manager API */ 10 11 #ifndef SQUID_MGR_FORWARD_H 12 #define SQUID_MGR_FORWARD_H 13 14 #include "base/RefCount.h" 15 16 /// Cache Manager API 17 namespace Mgr 18 { 19 20 class Action; 21 class ActionCreator; 22 class ActionPasswordList; 23 class ActionProfile; 24 class ActionWriter; 25 class Command; 26 class Request; 27 class Response; 28 class QueryParam; 29 class QueryParams; 30 31 typedef RefCount<Action> ActionPointer; 32 typedef RefCount<ActionProfile> ActionProfilePointer; 33 typedef RefCount<ActionCreator> ActionCreatorPointer; 34 typedef RefCount<Command> CommandPointer; 35 36 typedef ActionPointer (ClassActionCreationHandler)(const CommandPointer &cmd); 37 38 } // namespace Mgr 39 40 class StoreEntry; 41 /** 42 * Handler for "dumping" out a cachemgr report to a StoreEntry 43 */ 44 typedef void OBJH(StoreEntry *); 45 46 #endif /* SQUID_MGR_FORWARD_H */ 47 48