diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-24 19:55:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-24 19:56:05 +0100 |
commit | 25ef6b98215f5518dae638ce0fd6b4710f17b113 (patch) | |
tree | 3bd032e2097a3e65985bb10d1ae926498011086f /src/rspamadm/dkim_keygen.c | |
parent | bb638f7c7d851f20071f5f9ee77224c0173e73ae (diff) | |
download | rspamd-25ef6b98215f5518dae638ce0fd6b4710f17b113.tar.gz rspamd-25ef6b98215f5518dae638ce0fd6b4710f17b113.zip |
[Project] Rework rspamadm and Lua init path
Diffstat (limited to 'src/rspamadm/dkim_keygen.c')
-rw-r--r-- | src/rspamadm/dkim_keygen.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/rspamadm/dkim_keygen.c b/src/rspamadm/dkim_keygen.c index e32f7bf05..86b228d01 100644 --- a/src/rspamadm/dkim_keygen.c +++ b/src/rspamadm/dkim_keygen.c @@ -27,8 +27,10 @@ static gchar *selector = NULL; static gchar *domain = NULL; static guint bits = 1024; -static void rspamadm_dkim_keygen (gint argc, gchar **argv); -static const char *rspamadm_dkim_keygen_help (gboolean full_help); +static void rspamadm_dkim_keygen (gint argc, gchar **argv, + const struct rspamadm_command *cmd); +static const char *rspamadm_dkim_keygen_help (gboolean full_help, + const struct rspamadm_command *cmd); static void rspamadm_dkim_keygen_lua_subrs (gpointer pL); struct rspamadm_command dkim_keygen_command = { @@ -52,7 +54,7 @@ static GOptionEntry entries[] = { }; static const char * -rspamadm_dkim_keygen_help (gboolean full_help) +rspamadm_dkim_keygen_help (gboolean full_help, const struct rspamadm_command *cmd) { const char *help_str; @@ -221,7 +223,7 @@ rspamadm_dkim_keygen_lua_subrs (gpointer pL) } static void -rspamadm_dkim_keygen (gint argc, gchar **argv) +rspamadm_dkim_keygen (gint argc, gchar **argv, const struct rspamadm_command *cmd) { GOptionContext *context; GError *error = NULL; |