mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 22:16:21 +00:00
Added new help format to c plugins WIP
This commit is contained in:
@@ -37,13 +37,13 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "command/command.h"
|
||||
|
||||
typedef struct p_command {
|
||||
const char *command_name;
|
||||
int min_args;
|
||||
int max_args;
|
||||
const char *usage;
|
||||
const char *short_help;
|
||||
const char *long_help;
|
||||
CommandHelp *help;
|
||||
void *callback;
|
||||
void (*callback_func)(struct p_command *command, gchar **args);
|
||||
} PluginCommand;
|
||||
|
||||
Reference in New Issue
Block a user