BasicActions.cc
Go to the documentation of this file.
143 debugs(16, DBG_IMPORTANT, "offline_mode now " << (Config.onoff.offline ? "ON" : "OFF") << " by Cache Manager request.");
154 RegisterAction("offline_toggle", "Toggle offline_mode setting", &Mgr::OfflineToggleAction::Create, 1, 1);
const char * ActionProtection(const Mgr::ActionProfilePointer &profile)
Definition: cache_manager.cc:409
Definition: Action.h:25
static Pointer Create(const CommandPointer &cmd)
Definition: BasicActions.cc:23
returns available Cache Manager actions and their access requirements
Definition: BasicActions.h:38
static Pointer Create(const CommandPointer &cmd)
Definition: BasicActions.cc:40
static Pointer Create(const CommandPointer &cmd)
Definition: BasicActions.cc:128
OfflineToggleAction(const CommandPointer &cmd)
Definition: BasicActions.cc:133
ReconfigureAction(const CommandPointer &cmd)
Definition: BasicActions.cc:90
static Pointer Create(const CommandPointer &cmd)
Definition: BasicActions.cc:85
static Pointer Create(const CommandPointer &cmd)
Definition: BasicActions.cc:105
RotateAction(const CommandPointer &cmd)
Definition: BasicActions.cc:110
static Pointer Create(const CommandPointer &cmd)
Definition: BasicActions.cc:67
ShutdownAction(const CommandPointer &cmd)
Definition: BasicActions.cc:72
struct SquidConfig::@106 onoff
Definition: Store.h:42
void RegisterBasics()
Registers profiles for the actions above; TODO: move elsewhere?
Definition: BasicActions.cc:150
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16