X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=server.h;h=9c98cf62a3bdb233155ef2a970d0982f26d7d2a1;hp=08fa11b19e8379b2e91649094d19704f3be9c752;hb=2cfb78331c33cb74c6abf357e8221604c3c9ec47;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf diff --git a/server.h b/server.h index 08fa11b1..9c98cf62 100644 --- a/server.h +++ b/server.h @@ -6,8 +6,6 @@ /** \file server.h common server data structures */ -#include "para.h" -#include "afh.h" /** size of the selector_info and audio_file info strings of struct misc_meta_data */ #define MMD_INFO_SIZE 16384 @@ -19,7 +17,7 @@ struct server_command { /** the name of the command */ const char *name; /** pointer to the function that handles the command */ - int (*handler)(int, int, char **); + int (*handler)(int, int, char * const * const); /** the privileges a user must have to execute this command */ unsigned int perms; /** one-line description of the command */