summaryrefslogtreecommitdiffstats
path: root/src/libserver/mempool_vars_internal.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-11 15:38:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-11 15:38:48 +0100
commitc9bb2fe5d30f40e910295241c2ae81cc1d1b8b8d (patch)
tree950ba4dbb5ed6296ec587ddec7477a988a535365 /src/libserver/mempool_vars_internal.h
parent73137f58b41251baf87355487d1891bd4d68d11c (diff)
downloadrspamd-c9bb2fe5d30f40e910295241c2ae81cc1d1b8b8d.tar.gz
rspamd-c9bb2fe5d30f40e910295241c2ae81cc1d1b8b8d.zip
[Minor] Move some of mempool magic constants to a separate file
Diffstat (limited to 'src/libserver/mempool_vars_internal.h')
-rw-r--r--src/libserver/mempool_vars_internal.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libserver/mempool_vars_internal.h b/src/libserver/mempool_vars_internal.h
new file mode 100644
index 000000000..d73d530e3
--- /dev/null
+++ b/src/libserver/mempool_vars_internal.h
@@ -0,0 +1,29 @@
+/*-
+ * Copyright 2016 Vsevolod Stakhov
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RSPAMD_MEMPOOL_VARS_INTERNAL_H
+#define RSPAMD_MEMPOOL_VARS_INTERNAL_H
+
+/* Basic rspamd mempool variables names */
+#define RSPAMD_MEMPOOL_AVG_WORDS_LEN "avg_words_len"
+#define RSPAMD_MEMPOOL_SHORT_WORDS_CNT "short_words_cnt"
+#define RSPAMD_MEMPOOL_HEADERS_HASH "headers_hash"
+#define RSPAMD_MEMPOOL_SETTINGS_HASH "settings_hash"
+#define RSPAMD_MEMPOOL_MTA_TAG "MTA-Tag"
+#define RSPAMD_MEMPOOL_CACHED_REPLY "cached_reply"
+
+
+#endif