summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h
index 2d6aae05f..6e82bbb10 100644
--- a/include/services.h
+++ b/include/services.h
@@ -155,6 +155,7 @@ typedef struct cmmode_ CMMode;
typedef struct csmode_ CSMode;
typedef struct cumode_ CUMode;
typedef struct csmodeutil_ CSModeUtil;
+typedef struct session_ Session;
/*************************************************************************/
@@ -928,6 +929,15 @@ struct exception_ {
/*************************************************************************/
+struct session_ {
+ Session *prev, *next;
+ char *host;
+ int count; /* Number of clients with this host */
+ int hits; /* Number of subsequent kills for a host */
+};
+
+/*************************************************************************/
+
/* Proxy stuff */