[MEDIUM] stats page: added links for 'refresh' and 'hide down'
The stats page now supports an option to hide servers which are DOWN
and to enable/disable automatic refresh. It is also possible to ask
for an immediate refresh.
diff --git a/include/types/session.h b/include/types/session.h
index 819acfd..a768619 100644
--- a/include/types/session.h
+++ b/include/types/session.h
@@ -74,6 +74,9 @@
#define SN_FINST_SHIFT 12 /* bit shift */
/* unused: 0x00008000 */
+#define SN_STAT_HIDEDWN 0x00010000 /* hide 'down' servers in the stats page */
+#define SN_STAT_NORFRSH 0x00020000 /* do not automatically refresh the stats page */
+
/* WARNING: if new fields are added, they must be initialized in event_accept()
* and freed in session_free() !