summaryrefslogtreecommitdiff
path: root/servers.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers.h')
-rw-r--r--servers.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/servers.h b/servers.h
new file mode 100644
index 0000000..2f23090
--- /dev/null
+++ b/servers.h
@@ -0,0 +1,14 @@
+#ifndef SERVERS_H
+#define SERVERS_H
+
+#include <glib.h>
+
+struct server {
+ gchar *host;
+ guint16 port;
+};
+
+gboolean server_add(const gchar *host, const guint16 port);
+void server_clear();
+
+#endif