comparison src/remote.h @ 649:3097880d7d95

Move all remote stuff from main.c to remote.[ch].
author zas_
date Tue, 13 May 2008 08:53:26 +0000
parents 48c8e49b571c
children 9bcfd6d7a902
comparison
equal deleted inserted replaced
648:e34c1002e553 649:3097880d7d95
30 30
31 GList *clients; 31 GList *clients;
32 }; 32 };
33 33
34 34
35 RemoteConnection *remote_server_open(const gchar *path); 35 void remote_close(RemoteConnection *rc);
36 void remote_server_subscribe(RemoteConnection *rc, RemoteReadFunc *func, gpointer data); 36 GList *remote_build_list(GList *list, int argc, char *argv[]);
37 void remote_help(void);
38 void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path,
39 GList *cmd_list, GList *collection_list);
37 40
38 RemoteConnection *remote_client_open(const gchar *path); 41 RemoteConnection *remote_server_init(gchar *path, CollectionData *command_collection);
39 gint remote_client_send(RemoteConnection *rc, const gchar *text);
40
41 void remote_close(RemoteConnection *rc);
42 42
43 43
44 #endif 44 #endif