diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-29 11:50:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-29 11:50:29 +0100 |
commit | cb40e98e64bc5a590a59c5772d5e192b9527429d (patch) | |
tree | f265ded0c4605cde62c258ef7e6f69435115ce84 /src/rspamadm/rspamadm.h | |
parent | 765758c28384ddbeb58d5954f888ef5b2f918a3b (diff) | |
download | rspamd-cb40e98e64bc5a590a59c5772d5e192b9527429d.tar.gz rspamd-cb40e98e64bc5a590a59c5772d5e192b9527429d.zip |
[Project] Simplify lua commands in rspamadm
Diffstat (limited to 'src/rspamadm/rspamadm.h')
-rw-r--r-- | src/rspamadm/rspamadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.h b/src/rspamadm/rspamadm.h index 3f619e52c..3d0a69204 100644 --- a/src/rspamadm/rspamadm.h +++ b/src/rspamadm/rspamadm.h @@ -43,7 +43,6 @@ struct rspamadm_command { rspamadm_help_func help; rspamadm_run_func run; rspamadm_lua_exports_func lua_subrs; - gint cbref; gpointer command_data; /* Opaque data */ }; @@ -53,6 +52,7 @@ extern struct rspamadm_command help_command; const struct rspamadm_command *rspamadm_search_command (const gchar *name, GPtrArray *all_commands); void rspamadm_fill_internal_commands (GPtrArray *dest); +void rspamadm_fill_lua_commands (lua_State *L, GPtrArray *dest); gboolean rspamadm_execute_lua_ucl_subr (gpointer L, gint argc, gchar **argv, const ucl_object_t *res, |