use COMMAND_HELPER for command helper functions

Define the numerous helpers that inherit command handler parameters
using the COMMAND_HELPER macro.
This commit is contained in:
Zachary T Welch
2009-11-10 03:12:21 -08:00
parent cfc4d5c6b7
commit 63a26b421b
6 changed files with 21 additions and 19 deletions

View File

@@ -551,8 +551,7 @@ int server_register_commands(command_context_t *context)
}
int server_port_command(struct command_context_s *cmd_ctx,
char *cmd, char **args, int argc, unsigned short *out)
SERVER_PORT_COMMAND()
{
switch (argc) {
case 0: