]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - server.h
aft.c: Fix com_add().
[paraslash.git] / server.h
index 08fa11b19e8379b2e91649094d19704f3be9c752..9c98cf62a3bdb233155ef2a970d0982f26d7d2a1 100644 (file)
--- 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 */