summaryrefslogtreecommitdiff
path: root/server_communication.h
blob: ecf1fdba2da91731162b78cc5a3c05eae65da87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SERVER_COMMUNICATION_H
#define SERVER_COMMUNICATION_H

#include "servers.h"

#include <glib.h>

gboolean server_ping(struct server *server);
gchar **server_find(struct server *server, const gchar *type, const gchar *str);
gchar **server_list(struct server *server, const gchar *directory);
gboolean server_get(struct server *server, const gchar *type,
		const gchar *localfile, const gchar *remotefile);

#endif