Pass full argument list to mood parsers.
[paraslash.git] / command.h
1 /** \file command.h The structure of server and afs commands. */
2
3 /**
4 * Defines one command of para_server.
5 */
6 struct server_command {
7 /** The name of the command. */
8 const char *name;
9 /** Pointer to the function that handles the command. */
10 int (*handler)(struct rc4_context *, int, char * const * const);
11 /** The privileges a user must have to execute this command. */
12 unsigned int perms;
13 /** One-line description of the command. */
14 const char *description;
15 /** Summary of the command line options. */
16 const char *usage;
17 /** The long help text. */
18 const char *help;
19 };