summaryrefslogtreecommitdiff
path: root/servers.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers.h')
-rw-r--r--servers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/servers.h b/servers.h
index 694e8a2..08f458b 100644
--- a/servers.h
+++ b/servers.h
@@ -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();