summaryrefslogtreecommitdiff
path: root/servers.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers.h')
-rw-r--r--servers.h6
1 files changed, 4 insertions, 2 deletions
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();