]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod_command.c
command_util.bash: Kill make_proto().
[paraslash.git] / audiod_command.c
index 2b18837b7603de5e37b06ce579c0a604d10a34bb..68cc15fbeca828d436be083f23f9aec19dac28e4 100644 (file)
 extern struct sched sched;
 extern char *stat_item_values[NUM_STAT_ITEMS];
 
+typedef int audiod_command_handler_t(int, int, char **);
+static audiod_command_handler_t AUDIOD_COMMAND_HANDLERS;
+
 /* Defines one command of para_audiod. */
 struct audiod_command {
        const char *name;
        /* Pointer to the function that handles the command. */
-       int (*handler)(int, int, char **);
+       audiod_command_handler_t *handler;
        /* One-line description. */
        const char *description;
        /* Summary of the command line options. */