Add server port command helper function.

This commit is contained in:
Zachary T Welch
2009-10-24 01:11:13 -07:00
parent 653ea7b25c
commit ae5732b9e4
2 changed files with 23 additions and 0 deletions

View File

@@ -75,6 +75,9 @@ extern int server_quit(void);
extern int server_loop(command_context_t *command_context);
extern int server_register_commands(command_context_t *context);
int server_port_command(struct command_context_s *cmd_ctx,
char *cmd, char **args, int argc, unsigned short *port);
extern int server_use_pipes;
#define ERROR_SERVER_REMOTE_CLOSED (-400)