comparison src/remote.h @ 1554:a96a20c7feb1

improved remote protocol to allow bidirectional communication
author nadvornik
date Mon, 20 Apr 2009 19:44:50 +0000
parents 8b89e3ff286b
children 956aab097ea7
comparison
equal deleted inserted replaced
1553:626adbb26387 1554:a96a20c7feb1
15 #define REMOTE_H 15 #define REMOTE_H
16 16
17 17
18 typedef struct _RemoteConnection RemoteConnection; 18 typedef struct _RemoteConnection RemoteConnection;
19 19
20 typedef void RemoteReadFunc(RemoteConnection *rc, const gchar *text, gpointer data); 20 typedef void RemoteReadFunc(RemoteConnection *rc, const gchar *text, GIOChannel *channel, gpointer data);
21 21
22 struct _RemoteConnection { 22 struct _RemoteConnection {
23 gint server; 23 gint server;
24 gint fd; 24 gint fd;
25 gchar *path; 25 gchar *path;