aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r--src/libutil/http.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h
index c581cb6f6..eef963f9d 100644
--- a/src/libutil/http.h
+++ b/src/libutil/http.h
@@ -50,6 +50,11 @@ struct rspamd_http_header {
};
/**
+ * Legacy spamc protocol
+ */
+#define RSPAMD_HTTP_FLAG_SPAMC 1 << 1
+
+/**
* HTTP message structure, used for requests and replies
*/
struct rspamd_http_message {
@@ -65,6 +70,7 @@ struct rspamd_http_message {
time_t date;
gint code;
enum http_method method;
+ gint flags;
};