aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/configtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamadm/configtest.c')
-rw-r--r--src/rspamadm/configtest.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/rspamadm/configtest.c b/src/rspamadm/configtest.c
index 18104c109..94914e817 100644
--- a/src/rspamadm/configtest.c
+++ b/src/rspamadm/configtest.c
@@ -28,8 +28,10 @@ extern struct rspamd_main *rspamd_main;
extern module_t *modules[];
extern worker_t *workers[];
-static void rspamadm_configtest (gint argc, gchar **argv);
-static const char *rspamadm_configtest_help (gboolean full_help);
+static void rspamadm_configtest (gint argc, gchar **argv,
+ const struct rspamadm_command *cmd);
+static const char *rspamadm_configtest_help (gboolean full_help,
+ const struct rspamadm_command *cmd);
struct rspamadm_command configtest_command = {
.name = "configtest",
@@ -50,7 +52,7 @@ static GOptionEntry entries[] = {
};
static const char *
-rspamadm_configtest_help (gboolean full_help)
+rspamadm_configtest_help (gboolean full_help, const struct rspamadm_command *cmd)
{
const char *help_str;
@@ -94,7 +96,7 @@ config_logger (rspamd_mempool_t *pool, gpointer ud)
}
static void
-rspamadm_configtest (gint argc, gchar **argv)
+rspamadm_configtest (gint argc, gchar **argv, const struct rspamadm_command *cmd)
{
GOptionContext *context;
GError *error = NULL;