libplugin.c: Handle command categories then set them in pay and autoclean

This commit is contained in:
darosior
2019-05-22 16:27:34 +02:00
committed by Rusty Russell
parent 5b0bf0ba1f
commit 9d34121ec5
4 changed files with 10 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ extern bool deprecated_apis;
/* Create an array of these, one for each command you support. */
struct plugin_command {
const char *name;
const char *category;
const char *description;
const char *long_description;
struct command_result *(*handle)(struct command *cmd,