diff options
Diffstat (limited to 'src/libmime/scan_result.h')
-rw-r--r-- | src/libmime/scan_result.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmime/scan_result.h b/src/libmime/scan_result.h index cdd6fe38b..fd3b8f896 100644 --- a/src/libmime/scan_result.h +++ b/src/libmime/scan_result.h @@ -159,8 +159,9 @@ gboolean rspamd_task_add_result_option (struct rspamd_task *task, * @param sym * @return */ -struct rspamd_symbol_result *rspamd_task_find_symbol_result ( - struct rspamd_task *task, const char *sym); +struct rspamd_symbol_result * +rspamd_task_find_symbol_result (struct rspamd_task *task, const char *sym, + struct rspamd_scan_result *result); /** * Compatibility function to iterate on symbols hash @@ -168,8 +169,7 @@ struct rspamd_symbol_result *rspamd_task_find_symbol_result ( * @param func * @param ud */ -void rspamd_task_symbol_result_foreach (struct rspamd_task *task, - GHFunc func, +void rspamd_task_symbol_result_foreach (struct rspamd_task *task, struct rspamd_scan_result *result, GHFunc func, gpointer ud); /** |