]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceLayout: move CacheMgr typedef OBJH to mgr/forward.h
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 1 Aug 2015 02:13:13 +0000 (19:13 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 1 Aug 2015 02:13:13 +0000 (19:13 -0700)
src/CacheManager.h
src/SwapDir.h
src/mgr/Registration.h
src/mgr/forward.h
src/pconn.h
src/typedefs.h

index 172e631a9799db647574fb64e3d18a71898e7e2b..87d95edba1c27de72af58a731ef2e9de0f2dbc64 100644 (file)
 #include "mgr/ActionProfile.h"
 #include "mgr/Command.h"
 #include "mgr/forward.h"
-#include "typedefs.h"
 
 #include <vector>
 
-/**
- \defgroup CacheManagerAPI Cache Manager API
- \ingroup Components
- *
- \defgroup CacheManagerInternal Cache Manager intenal API (not for public use)
- \ingroup CacheManagerAPI
- */
-
 class HttpRequest;
-namespace Mgr
-{
-class ActionPasswordList;
-} //namespace Mgr
+
 /**
- \ingroup CacheManagerAPI
  * a CacheManager - the menu system for interacting with squid.
  * This is currently just an adapter to the global cachemgr* routines to
  * provide looser coupling between modules, but once fully transitioned,
index c8ba516149eba6bb9ce8f7fb83d64d5ff8d4d5a5..adb21dab76250b01bcccc796bb944645c0017167 100644 (file)
@@ -9,6 +9,7 @@
 #ifndef SQUID_SWAPDIR_H
 #define SQUID_SWAPDIR_H
 
+#include "mgr/forward.h"
 #include "SquidConfig.h"
 #include "Store.h"
 #include "StoreIOState.h"
index e0e27eb46764779b553f35a5545cb69b8b2aea7a..8825a1c3ffcd1997fc90fc0538e86bc265baec0e 100644 (file)
@@ -12,7 +12,6 @@
 #define SQUID_MGR_REGISTRATION_H
 
 #include "mgr/forward.h"
-#include "typedefs.h"   /* for OBJH */
 
 namespace Mgr
 {
index 574e19377577299c8eef23202813770e9a378eaa..dcc4dee17de920a297445949cc8bae90a25cb7ed 100644 (file)
 
 #include "base/RefCount.h"
 
+/// Cache Manager API
 namespace Mgr
 {
 
 class Action;
 class ActionCreator;
+class ActionPasswordList;
 class ActionProfile;
 class ActionWriter;
 class Command;
@@ -35,5 +37,11 @@ typedef ActionPointer (ClassActionCreationHandler)(const CommandPointer &cmd);
 
 } // namespace Mgr
 
+class StoreEntry;
+/**
+ * Handler for "dumping" out a cachemgr report to a StoreEntry
+ */
+typedef void OBJH(StoreEntry *);
+
 #endif /* SQUID_MGR_FORWARD_H */
 
index 7b5cb6c86cc5195bf9c8d35be49a9af34fadef42..98fe36704eb1a8e4f3f97edade3bdd7c55455df4 100644 (file)
@@ -10,6 +10,8 @@
 #define SQUID_PCONN_H
 
 #include "base/CbcPointer.h"
+#include "mgr/forward.h"
+
 #include <set>
 
 /**
index ff61bc6c4378b4690aecd3906ed310b90a4e595b..dd097730233570a4f6a05a8aa825c64872700d1c 100644 (file)
@@ -73,7 +73,6 @@ typedef int QS(const void *, const void *); /* qsort */
 typedef void STABH(void *);
 typedef void ERCB(int fd, void *, size_t);
 class StoreEntry;
-typedef void OBJH(StoreEntry *);
 typedef void SIGHDLR(int sig);
 typedef void STVLDCB(void *, int, int);
 typedef int HLPSAVAIL(void *);