diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-25 19:38:18 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-25 19:38:18 +0400 |
commit | 671bbfa9cc85a625df33d6384a3179ce076765b9 (patch) | |
tree | ac77b0439bc08ce896b614e1a95641878d35d807 /src/protocol.c | |
parent | 331f6807e9ef813755f8ec197cc24915c458a684 (diff) | |
download | rspamd-671bbfa9cc85a625df33d6384a3179ce076765b9.tar.gz rspamd-671bbfa9cc85a625df33d6384a3179ce076765b9.zip |
* Add post filters to lua API - filters that would be called after all message's processing
* Add ability to check for specified symbol in task results from lua
* Add ability to check for metric's results from lua
* Add ability to learn specified statfile form lua
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol.c b/src/protocol.c index 63b1bee5b..cece0bab7 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -620,7 +620,7 @@ show_metric_symbols (struct metric_result *metric_res, struct metric_callback_da return TRUE; } -G_INLINE_FUNC const char * +const char * str_action_metric (enum rspamd_metric_action action) { switch (action) { @@ -641,7 +641,7 @@ str_action_metric (enum rspamd_metric_action action) return "unknown action"; } -G_INLINE_FUNC gint +gint check_metric_action (double score, double required_score, struct metric *metric) { GList *cur; |