/*
- * DEBUG: section 16 Cache Manager API
+ * Copyright (C) 1996-2020 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.
*/
+/* DEBUG: section 16 Cache Manager API */
+
#include "squid.h"
#include "base/TextException.h"
#include "CacheManager.h"
}
void
-Mgr::IndexAction::dump(StoreEntry* entry)
+Mgr::IndexAction::dump(StoreEntry *)
{
debugs(16, 5, HERE);
}
}
void
-Mgr::ShutdownAction::dump(StoreEntry* entry)
+Mgr::ShutdownAction::dump(StoreEntry *)
{
debugs(16, DBG_CRITICAL, "Shutdown by Cache Manager command.");
shut_down(SIGTERM);
}
Mgr::ReconfigureAction::ReconfigureAction(const Command::Pointer &aCmd):
- Action(aCmd)
+ Action(aCmd)
{
debugs(16, 5, HERE);
}
}
Mgr::OfflineToggleAction::OfflineToggleAction(const Command::Pointer &aCmd):
- Action(aCmd)
+ Action(aCmd)
{
debugs(16, 5, HERE);
}
RegisterAction("reconfigure", "Reconfigure Squid", &Mgr::ReconfigureAction::Create, 1, 1);
RegisterAction("rotate", "Rotate Squid Logs", &Mgr::RotateAction::Create, 1, 1);
}
+