From 2c4e333544bf29880924a058a80a40ab7e264435 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 30 Apr 2014 14:10:14 +0100 Subject: Add attach_controller callback to plugins. --- config.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index b7d4ed74c..28f872445 100644 --- a/config.h.in +++ b/config.h.in @@ -469,6 +469,8 @@ typedef struct module_s { int (*module_init_func)(struct rspamd_config *cfg, struct module_ctx **ctx); int (*module_config_func)(struct rspamd_config *cfg); int (*module_reconfig_func)(struct rspamd_config *cfg); + int (*module_attach_controller_func)(struct module_ctx *ctx, + GHashTable *custom_commands); } module_t; typedef struct worker_s { -- cgit v1.2.3