]> git.sur5r.net Git - openocd/blobdiff - src/server/server.h
export find_file function
[openocd] / src / server / server.h
index 625c364eaac4e349d3c53d013189371a87be4b24..811e26ecdd2b80d28c47f3d54140bedbd0ad936b 100644 (file)
 
 #include "command.h"
 #include "binarybuffer.h"
+#include "replacements.h"
 
 #include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
 
 enum connection_type
 {
@@ -66,6 +65,7 @@ typedef struct service_s
 
 extern int add_service(char *name, enum connection_type type, unsigned short port, int max_connections, new_connection_handler_t new_connection_handler, input_handler_t input_handler, connection_closed_handler_t connection_closed_handler, void *priv);
 extern int server_init();
+extern int server_quit();
 extern int server_loop(command_context_t *command_context);
 extern int server_register_commands(command_context_t *context);