From 2f25352bd65ae7acb4612bcbc293a0f74239b67c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 3 Sep 2010 21:25:07 +0200 Subject: Added 'name' to the server struct. --- servers.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'servers.h') diff --git a/servers.h b/servers.h index 694e8a2..08f458b 100644 --- a/servers.h +++ b/servers.h @@ -4,6 +4,7 @@ #include struct server { + gchar *name; gchar *host; guint16 http_port; guint16 command_port; @@ -11,8 +12,8 @@ struct server { extern GSList *servers; -gboolean server_add(const gchar *host, const guint16 http_port, - const guint16 command_port); +gboolean server_add(const gchar *name, 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