aboutsummaryrefslogtreecommitdiff
path: root/src/server/server.h
diff options
context:
space:
mode:
authorMarc Schink <openocd-dev@marcschink.de>2016-12-19 20:09:08 +0100
committerTomas Vanek <vanekt@fbl.cz>2018-08-01 14:34:13 +0100
commit9bcd2b2fa3709a6653ff2f7ea8d0af5d4be790f0 (patch)
tree6fa05ce379c0b82e6c0a8f2e8a9d11eaa7779c52 /src/server/server.h
parent9ec306e95a07ca9a5a72619618f5ed54e1fc8920 (diff)
downloadriscv-openocd-9bcd2b2fa3709a6653ff2f7ea8d0af5d4be790f0.zip
riscv-openocd-9bcd2b2fa3709a6653ff2f7ea8d0af5d4be790f0.tar.gz
riscv-openocd-9bcd2b2fa3709a6653ff2f7ea8d0af5d4be790f0.tar.bz2
server/server: Add ability to remove services
Add the ability to remove services while OpenOCD is running. Change-Id: I4067916fda6d03485463fa40901b40484d94e24e Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/4054 Tested-by: jenkins Reviewed-by: Fredrik Hederstierna <fredrik@hederstierna.com> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/server/server.h')
-rw-r--r--src/server/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/server.h b/src/server/server.h
index d4eae94..96e0b48 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -78,6 +78,7 @@ int add_service(char *name, const char *port,
int max_connections, new_connection_handler_t new_connection_handler,
input_handler_t in_handler, connection_closed_handler_t close_handler,
void *priv);
+int remove_service(const char *name, const char *port);
int server_preinit(void);
int server_init(struct command_context *cmd_ctx);