X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fserver%2Fserver.h;h=34cf1cf0aae2d14439bf98f0c52bd69302371969;hb=ee124401a21f4dff3332f3f417b7bd2e67034cbc;hp=face13867fabdadb084114d85a4bbf6fe8fa5340;hpb=50d5441e2a615fb2c44b41a777e4373901f7a2e6;p=fw%2Fopenocd diff --git a/src/server/server.h b/src/server/server.h index face13867..34cf1cf0a 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -57,7 +57,7 @@ typedef int (*connection_closed_handler_t)(struct connection *connection); struct service { - char *name; + const char *name; enum connection_type type; const char *port; unsigned short portnumber; @@ -89,11 +89,11 @@ int connection_write(struct connection *connection, const void *data, int len); int connection_read(struct connection *connection, void *data, int len); /** - * Used by server_loop(), defined in server_stubs.c, httpd.c, or ecosboard.c + * Used by server_loop(), defined in server_stubs.c or ecosboard.c */ void openocd_sleep_prelude(void); /** - * Used by server_loop(), defined in server_stubs.c, httpd.c, or ecosboard.c + * Used by server_loop(), defined in server_stubs.c or ecosboard.c */ void openocd_sleep_postlude(void);