server: add server_preinit which is called before config file is parsed.
[fw/openocd] / src / server / tcl_server.h
index c90dc8e92b9208ea5fa58b260bbe0e7abf3baada..68ad821280868e6ac744a308499adae8fb009cae 100644 (file)
@@ -20,9 +20,9 @@
 #ifndef _TCL_SERVER_H_
 #define _TCL_SERVER_H_
 
-#include "server.h"
+#include <server/server.h>
 
-extern int tcl_init(void);
-extern int tcl_register_commands(command_context_t *cmd_ctx);
+int tcl_init(struct command_context *cmd_ctx);
+int tcl_register_commands(struct command_context *cmd_ctx);
 
 #endif /* _TCL_SERVER_H_ */