#include "signal.h"
#include "version.h"
+typedef int server_command_handler_t(struct command_context *);
+static server_command_handler_t SERVER_COMMAND_HANDLERS;
+server_command_handler_t AFS_COMMAND_HANDLERS;
+
/* Defines one command of para_server. */
struct server_command {
/* The name of the command. */
const char *name;
/* Pointer to the function that handles the command. */
- int (*handler)(struct command_context *);
+ server_command_handler_t *handler;
/* The privileges a user must have to execute this command. */
unsigned int perms;
/* One-line description of the command. */