summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-08-01 09:45:22 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-08-01 09:45:22 +0000
commit7d244761461701e1161df32c2f1d4cd50ae2bb26 (patch)
tree9adfc28cb669a838c338af1f5d6203ca92cc4c7b /src/server
parent1341eb3b0aea74b939a5d7702f696b175d032647 (diff)
downloadopenocd+libswd-7d244761461701e1161df32c2f1d4cd50ae2bb26.tar.gz
openocd+libswd-7d244761461701e1161df32c2f1d4cd50ae2bb26.tar.bz2
openocd+libswd-7d244761461701e1161df32c2f1d4cd50ae2bb26.tar.xz
openocd+libswd-7d244761461701e1161df32c2f1d4cd50ae2bb26.zip
- allow building for MinGW using either -mno-cygwin or the MinGW gcc
- added GiveIO support to the amt_jtagaccel driver - explicitly disable loopback mode for FT2232 devices - changed configuration options n[st]rst_delay to jtag_n[st]rst_delay - shutdown network services on exit git-svn-id: svn://svn.berlios.de/openocd/trunk@80 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.c2
-rw-r--r--src/server/server.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/server/server.c b/src/server/server.c
index 5d7df1af..951be450 100644
--- a/src/server/server.c
+++ b/src/server/server.c
@@ -417,7 +417,7 @@ int server_init()
return ERROR_OK;
}
-int server_close()
+int server_quit()
{
remove_services();
diff --git a/src/server/server.h b/src/server/server.h
index ddf0b97d..811e26ec 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -65,6 +65,7 @@ typedef struct service_s
extern int add_service(char *name, enum connection_type type, unsigned short port, int max_connections, new_connection_handler_t new_connection_handler, input_handler_t input_handler, connection_closed_handler_t connection_closed_handler, void *priv);
extern int server_init();
+extern int server_quit();
extern int server_loop(command_context_t *command_context);
extern int server_register_commands(command_context_t *context);