aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-24 21:27:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-24 21:46:17 +0100
commitbd8172153357a1f51ed2ce450a15af322a074897 (patch)
tree4689f27c38296dd0d2dfc0152c80989459a73687 /src/rspamd.h
parente8c4bf889840913f8015eeb7e665ec90904eb6cf (diff)
downloadrspamd-bd8172153357a1f51ed2ce450a15af322a074897.tar.gz
rspamd-bd8172153357a1f51ed2ce450a15af322a074897.zip
[Feature] Add termination callbacks for workers
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index ffebfe387..999061a99 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -62,6 +62,7 @@ struct rspamd_worker {
main process. [0] - main, [1] - worker */
struct event srv_ev; /**< used by main for read workers' requests */
gpointer control_data; /**< used by control protocol to handle commands */
+ GPtrArray *finish_actions; /**< called when worker is terminated */
};
struct rspamd_abstract_worker_ctx {