openocd: fix issue in WIN32 with TCP adapters
[fw/openocd] / src / server / server.h
index 96e0b48efea751ad8a5d998f920a86f447583c5c..f4cc39d3a75425e4c8fb45ff3a22c99be7603c49 100644 (file)
@@ -49,7 +49,7 @@ struct connection {
        struct sockaddr_in sin;
        struct command_context *cmd_ctx;
        struct service *service;
-       int input_pending;
+       bool input_pending;
        void *priv;
        struct connection *next;
 };
@@ -80,6 +80,9 @@ int add_service(char *name, const char *port,
                void *priv);
 int remove_service(const char *name, const char *port);
 
+int server_host_os_entry(void);
+int server_host_os_close(void);
+
 int server_preinit(void);
 int server_init(struct command_context *cmd_ctx);
 int server_quit(void);