server: add server_preinit which is called before config file is parsed.
[fw/openocd] / src / server / telnet_server.h
index c45a42363f6afb347074600a5dda271f5a7f656b..b0c5ceb35d84d3dfeab5d125bfcc0ce7553c7e42 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef TELNET_SERVER_H
 #define TELNET_SERVER_H
 
-#include "server.h"
+#include <server/server.h>
 
 #define TELNET_BUFFER_SIZE (1024)
 
@@ -69,6 +69,6 @@ struct telnet_service
 };
 
 int telnet_init(char *banner);
-int telnet_register_commands(command_context_t *command_context);
+int telnet_register_commands(struct command_context *command_context);
 
 #endif /* TELNET_SERVER_H */