diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-11 14:28:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-11 14:28:34 +0000 |
commit | 1ec1570822726f35f4c06a9838e63e54af827bc0 (patch) | |
tree | 3b46aa5d5144f7b0c5d095c9648ad5e577153375 /src/libutil/http.h | |
parent | ea26cfd92c60ff4b277144a7110f43e2dc2924f6 (diff) | |
download | rspamd-1ec1570822726f35f4c06a9838e63e54af827bc0.tar.gz rspamd-1ec1570822726f35f4c06a9838e63e54af827bc0.zip |
Distinguish spamc/rspamc in http code.
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r-- | src/libutil/http.h | 6 |
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; }; |