From 651ebc75e6dae751bdebffe018701618afcc49df Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 30 Aug 2010 22:12:45 +0200 Subject: Added separate http and command ports in server struct. --- servers.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'servers.h') diff --git a/servers.h b/servers.h index f727bbd..694e8a2 100644 --- a/servers.h +++ b/servers.h @@ -5,12 +5,14 @@ struct server { gchar *host; - guint16 port; + guint16 http_port; + guint16 command_port; }; extern GSList *servers; -gboolean server_add(const gchar *host, const guint16 port); +gboolean server_add(const gchar *host, const guint16 http_port, + const guint16 command_port); gboolean server_remove(struct server *server); void servers_init(); void servers_free(); -- cgit v1.2.3