diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-03 21:25:07 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-03 21:25:07 +0200 |
commit | 2f25352bd65ae7acb4612bcbc293a0f74239b67c (patch) | |
tree | 9a8c65e85b168c5c2717cf124bbff46d94efeb56 /servers.h | |
parent | fd880c0afd2a369738d697bf621d35e473c3ea70 (diff) |
Added 'name' to the server struct.
Diffstat (limited to 'servers.h')
-rw-r--r-- | servers.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,6 +4,7 @@ #include <glib.h> 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(); |