summaryrefslogtreecommitdiff
path: root/src/server/server.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 13:25:47 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 13:25:47 -0800
commit98723c4ecdbe06f90c66f3abec27b792c3b38e34 (patch)
treec6ea2a1627e8f7109e3aa0589cd625ac0c740aa7 /src/server/server.h
parentd16968e24f5d9e436ae4e136cd27652c4c948203 (diff)
downloadopenocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.gz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.bz2
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.xz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.zip
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Diffstat (limited to 'src/server/server.h')
-rw-r--r--src/server/server.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/server.h b/src/server/server.h
index 062691b0..5e862815 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -42,7 +42,7 @@ struct connection
{
int fd;
struct sockaddr_in sin;
- command_context_t *cmd_ctx;
+ struct command_context *cmd_ctx;
struct service *service;
int input_pending;
void *priv;
@@ -77,9 +77,9 @@ int add_service(char *name, enum connection_type type, unsigned short port,
int server_init(void);
int server_quit(void);
-int server_loop(command_context_t *command_context);
+int server_loop(struct command_context *command_context);
-int server_register_commands(command_context_t *context);
+int server_register_commands(struct command_context *context);
/**
* Defines an extended command handler function declaration to enable