From f686fc40950ea38f47eb4bfec8d9b8e7c1172556 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 20 Dec 2015 14:19:53 +0100 Subject: [PATCH] Remove unneccesary stuff from webcit.h --- webcit/siteconfig.c | 8 ++++++++ webcit/webcit.h | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 253e1a576..4fa5541b1 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -15,6 +15,14 @@ #include "webcit.h" #include "webserver.h" +/* + * Expiry policy for the autopurger + */ +#define EXPIRE_NEXTLEVEL 0 /* Inherit expiration policy */ +#define EXPIRE_MANUAL 1 /* Don't expire messages at all */ +#define EXPIRE_NUMMSGS 2 /* Keep only latest n messages */ +#define EXPIRE_AGE 3 /* Expire messages after n days */ + CtxType CTX_SRVLOG = CTX_NONE; HashList *ZoneHash = NULL; diff --git a/webcit/webcit.h b/webcit/webcit.h index 624b11893..ced9d3414 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -196,17 +196,11 @@ extern char *ssl_cipher_list; /* * Expiry policy for the autopurger */ -#define EXPIRE_NEXTLEVEL 0 /* Inherit expiration policy */ -#define EXPIRE_MANUAL 1 /* Don't expire messages at all */ -#define EXPIRE_NUMMSGS 2 /* Keep only latest n messages */ -#define EXPIRE_AGE 3 /* Expire messages after n days */ typedef struct __ExpirePolicy { int expire_mode; int expire_value; } ExpirePolicy; -void LoadExpirePolicy(GPEXWhichPolicy which); -void SaveExpirePolicyFromHTTP(GPEXWhichPolicy which); /* * Linked list of session variables encoded in an x-www-urlencoded content type -- 2.30.2