7 * This software is released under the GNU General Public License (GNU GPL).
8 * Please read the included file COPYING for more information.
9 * This software comes with no warranty of any kind, use at your own risk!
17 typedef struct _RemoteConnection RemoteConnection;
19 typedef void RemoteReadFunc(RemoteConnection *rc, const char *text, gpointer data);
21 struct _RemoteConnection {
27 RemoteReadFunc *read_func;
34 RemoteConnection *remote_server_open(const gchar *path);
35 void remote_server_subscribe(RemoteConnection *rc, RemoteReadFunc *func, gpointer data);
37 RemoteConnection *remote_client_open(const gchar *path);
38 gint remote_client_send(RemoteConnection *rc, const gchar *text);
40 void remote_close(RemoteConnection *rc);