summaryrefslogtreecommitdiff
path: root/servers.h
blob: 11dc3af5e91755384600806d010a8971ad83d7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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 server_clear();

#endif