Remove unneccesary stuff from webcit.h
authorWilfried Goesgens <willi@arangodb.com>
Sun, 20 Dec 2015 13:19:53 +0000 (14:19 +0100)
committerWilfried Goesgens <willi@arangodb.com>
Sun, 20 Dec 2015 13:19:53 +0000 (14:19 +0100)
webcit/siteconfig.c
webcit/webcit.h

index 253e1a5763c57292979cbaad45e071ac9635aa38..4fa5541b165ce364bd15ca8431a5aea31b51d387 100644 (file)
 #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;
index 624b1189383c2345f6c89a085cf0adcf30b9abba..ced9d3414bff0ef1ea348f10010eed70c9aa0d7d 100644 (file)
@@ -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