summaryrefslogtreecommitdiff
path: root/servers.h
blob: f727bbdc61484e3147c2517d2f40b5f2be57f9f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SERVERS_H
#define SERVERS_H

#include <glib.h>

struct server {
	gchar *host;
	guint16 port;
};

extern GSList *servers;

gboolean server_add(const gchar *host, const guint16 port);
gboolean server_remove(struct server *server);
void servers_init();
void servers_free();

#endif