summaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-08 15:22:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-08 15:22:05 +0100
commitc271eb36656a4ff88a9c8c1d59934949260275a3 (patch)
tree3dd586e38b5b37cfebc7c12b6ff6f434904167c7 /src/libserver/cfg_file_private.h
parentb266445f47dec06392a7e058f499325fa3c052b9 (diff)
downloadrspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.tar.gz
rspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.zip
[Rework] Add C++ guards to all headers
Diffstat (limited to 'src/libserver/cfg_file_private.h')
-rw-r--r--src/libserver/cfg_file_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/cfg_file_private.h b/src/libserver/cfg_file_private.h
index 94cb9aa08..8a88f6e3e 100644
--- a/src/libserver/cfg_file_private.h
+++ b/src/libserver/cfg_file_private.h
@@ -22,6 +22,10 @@
#define HASH_CASELESS
#include "uthash_strcase.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Action config definition
*/
@@ -35,4 +39,8 @@ struct rspamd_action {
struct UT_hash_handle hh; /* Index by name */
};
+#ifdef __cplusplus
+}
+#endif
+
#endif