summaryrefslogtreecommitdiffstats
path: root/src/libutil/http_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/http_util.h')
-rw-r--r--src/libutil/http_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libutil/http_util.h b/src/libutil/http_util.h
index 30d806ae0..7a22ffb16 100644
--- a/src/libutil/http_util.h
+++ b/src/libutil/http_util.h
@@ -19,6 +19,10 @@
#include "config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Parse HTTP date header and return it as time_t
* @param header HTTP date header
@@ -45,4 +49,8 @@ glong rspamd_http_date_format (gchar *buf, gsize len, time_t time);
*/
void rspamd_http_normalize_path_inplace (gchar *path, guint len, guint *nlen);
+#ifdef __cplusplus
+}
+#endif
+
#endif