From: Wilfried Goesgens Date: Sun, 20 Dec 2015 13:19:53 +0000 (+0100) Subject: Remove unneccesary stuff from webcit.h X-Git-Tag: Release_902~113 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=f686fc40950ea38f47eb4bfec8d9b8e7c1172556 Remove unneccesary stuff from webcit.h --- 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