/*
- * $Id: cache_manager.cc,v 1.48 2007/10/31 04:52:16 amosjeffries Exp $
+ * $Id: cache_manager.cc,v 1.48.4.1 2008/03/02 15:54:48 serassio Exp $
*
* DEBUG: section 16 Cache Manager Objects
* AUTHOR: Duane Wessels
static char *cachemgrPasswdGet(cachemgr_passwd *, const char *);
static const char *cachemgrActionProtection(const CacheManagerAction * at);
static OBJH cachemgrShutdown;
+static OBJH cachemgrReconfigure;
static OBJH cachemgrMenu;
static OBJH cachemgrOfflineToggle;
registerAction("shutdown",
"Shut Down the Squid Process",
cachemgrShutdown, 1, 1);
+ registerAction("reconfigure",
+ "Reconfigure the Squid Process",
+ cachemgrReconfigure, 1, 1);
registerAction("offline_toggle",
"Toggle offline_mode setting",
cachemgrOfflineToggle, 1, 1);
shut_down(0);
}
+static void
+cachemgrReconfigure(StoreEntry * sentry)
+{
+ debug(16, 0) ("Reconfigure by command.\n");
+ reconfigure(SIGHUP);
+ storeAppendPrintf(sentry, "Reconfiguring Squid Process ....");
+}
+
static void
cachemgrOfflineToggle(StoreEntry * sentry)
{
/*
- * $Id: test_http_range.cc,v 1.3 2007/05/29 13:31:48 amosjeffries Exp $
+ * $Id: test_http_range.cc,v 1.3.6.1 2008/03/02 15:54:48 serassio Exp $
*
* DEBUG: section 64 HTTP Range Header
* AUTHOR: Alex Rousskov
shut_down(int)
{}
+void
+reconfigure(int)
+{}
+
SQUIDCEXTERN void httpHeaderPutStr(HttpHeader * hdr, http_hdr_type type, const char *str)
{
fatal ("dummy function\n");
/*
- * $Id: ufsdump.cc,v 1.11 2007/11/15 16:47:35 wessels Exp $
+ * $Id: ufsdump.cc,v 1.11.4.1 2008/03/02 15:54:48 serassio Exp $
*
* DEBUG: section 0 UFS Store Dump
* AUTHOR: Robert Collins
void shut_down(int)
{}
+void
+reconfigure(int)
+{}
+
#if WHENITMINIMAL
void
eventAdd(const char *name, EVH * func, void *arg, double when, int, bool cbdata)