aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/scan_result.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime/scan_result.h')
-rw-r--r--src/libmime/scan_result.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/libmime/scan_result.h b/src/libmime/scan_result.h
index 2f20e2c62..4d55a8e62 100644
--- a/src/libmime/scan_result.h
+++ b/src/libmime/scan_result.h
@@ -149,7 +149,17 @@ struct rspamd_symbol_result *rspamd_task_insert_result_full (struct rspamd_task
#define rspamd_task_insert_result(task, symbol, flag, opts) \
rspamd_task_insert_result_full (task, symbol, flag, opts, RSPAMD_SYMBOL_INSERT_DEFAULT, NULL)
-
+/**
+ * Removes a symbol from a specific symbol result
+ * @param task
+ * @param symbol
+ * @param result
+ * @return
+ */
+struct rspamd_symbol_result* rspamd_task_remove_symbol_result (
+ struct rspamd_task *task,
+ const gchar *symbol,
+ struct rspamd_scan_result *result);
/**
* Adds new option to symbol
* @param task