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

#include <glib.h>

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

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

#endif