aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-28 10:48:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-28 10:48:12 +0000
commit230add97a967cd75726803028e8b509e243d71aa (patch)
treeff1983f603330de6e949d20f7b029dbc16eadf6b /src/libserver/task.h
parent3cc4d4ac947b8751509498b650bb024533986352 (diff)
downloadrspamd-230add97a967cd75726803028e8b509e243d71aa.tar.gz
rspamd-230add97a967cd75726803028e8b509e243d71aa.zip
Add no-ip flag for task structure.
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 21df26535..5cec573e7 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -59,6 +59,7 @@ enum rspamd_metric_action {
#define RSPAMD_TASK_FLAG_SPAMC (1 << 5)
#define RSPAMD_TASK_FLAG_PASS_ALL (1 << 6)
#define RSPAMD_TASK_FLAG_NO_LOG (1 << 7)
+#define RSPAMD_TASK_FLAG_NO_IP (1 << 8)
#define RSPAMD_TASK_IS_SKIPPED(task) (((task)->flags & RSPAMD_TASK_FLAG_SKIP))
#define RSPAMD_TASK_IS_JSON(task) (((task)->flags & RSPAMD_TASK_FLAG_JSON))
@@ -88,7 +89,7 @@ struct rspamd_task {
enum rspamd_command cmd; /**< command */
struct custom_command *custom_cmd; /**< custom command if any */
gint sock; /**< socket descriptor */
- gint flags;
+ guint flags;
gchar *helo; /**< helo header value */
gchar *queue_id; /**< queue id if specified */