summaryrefslogtreecommitdiff
path: root/server_communication.h
blob: 023ebd139b052c72bb93ef47a114f2026507787f (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, GError **error);
gchar **server_find(struct server *server, const gchar *type, const gchar *str, GError **error);
gchar **server_list(struct server *server, const gchar *directory, GError **error);
gboolean server_get(struct server *server, const gchar *type,
		const gchar *localfile, const gchar *remotefile, GError **error);

#endif