blob: 08f458bfb690f5be8974f43d4d668f9fec1444a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef SERVERS_H
#define SERVERS_H
#include <glib.h>
struct server {
gchar *name;
gchar *host;
guint16 http_port;
guint16 command_port;
};
extern GSList *servers;
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();
#endif
|