diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-07 14:31:08 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-07 14:31:08 +0000 |
commit | 296c0cd69431ffc59b12adff6b3d58c9069f81ff (patch) | |
tree | 61df11a3683644cee24310467e22e2d3b9c55435 /src/libserver/worker_util.h | |
parent | 5172bac9ff82d0abc316d40b61cec13b91903a1a (diff) | |
download | rspamd-296c0cd69431ffc59b12adff6b3d58c9069f81ff.tar.gz rspamd-296c0cd69431ffc59b12adff6b3d58c9069f81ff.zip |
[Rework] Rework final scripts logic
Diffstat (limited to 'src/libserver/worker_util.h')
-rw-r--r-- | src/libserver/worker_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h index 6fbda0b4a..15d79df2f 100644 --- a/src/libserver/worker_util.h +++ b/src/libserver/worker_util.h @@ -237,6 +237,13 @@ void rspamd_worker_throttle_accept_events (gint sock, void *data); gboolean rspamd_check_termination_clause (struct rspamd_main *rspamd_main, struct rspamd_worker *wrk, int status); +/** + * Call for final scripts for a worker + * @param worker + * @return + */ +gboolean rspamd_worker_call_finish_handlers (struct rspamd_worker *worker); + #ifdef WITH_HYPERSCAN struct rspamd_control_command; |