X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fserver%2Fserver.h;fp=src%2Fserver%2Fserver.h;h=46188bb44e2a91916ba862bbfaa20ebfaff0a1ef;hp=b13baaaa69c8478e0eeda69e453d79b19b452049;hb=cb2dba2c1257e0aa80edc9a171a9c5cd7b2822f8;hpb=5a41435e45ae18c0823780382c214fb7324dbe7d diff --git a/src/server/server.h b/src/server/server.h index b13baaaa69..46188bb44e 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -83,6 +83,9 @@ int server_loop(struct command_context *command_context); int server_register_commands(struct command_context *context); +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 */