diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-08 17:15:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-08 17:15:07 +0100 |
commit | 4723fc02beba74b68563d99ae16ef91409f18ca0 (patch) | |
tree | 7e42e680c54a9927bc55973e56bbae1cafcb1209 /src/libutil/http.c | |
parent | 40668e02907b0e15b9fdfe429a48b20ac98b1e31 (diff) | |
download | rspamd-4723fc02beba74b68563d99ae16ef91409f18ca0.tar.gz rspamd-4723fc02beba74b68563d99ae16ef91409f18ca0.zip |
[Minor] Add method to get HTTP message flags
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r-- | src/libutil/http.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index 1a226773a..194050980 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -2463,6 +2463,12 @@ rspamd_http_message_shmem_ref (struct rspamd_http_message *msg) return NULL; } +guint +rspamd_http_message_get_flags (struct rspamd_http_message *msg) +{ + return msg->flags; +} + void rspamd_http_message_shmem_unref (struct rspamd_storage_shmem *p) { |