Get register value if it's invalid in cache.
[fw/openocd] / src / server / server.h
index face13867fabdadb084114d85a4bbf6fe8fa5340..34cf1cf0aae2d14439bf98f0c52bd69302371969 100644 (file)
@@ -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);