1.1 --- a/gmyth/src/gmyth_socket.h Thu Nov 30 21:29:38 2006 +0000
1.2 +++ b/gmyth/src/gmyth_socket.h Tue Dec 05 21:56:57 2006 +0000
1.3 @@ -69,7 +69,7 @@
1.4 GObject parent;
1.5
1.6 /* socket descriptor */
1.7 - int sd;
1.8 + gint sd;
1.9 GIOChannel *sd_io_ch;
1.10
1.11 gchar *hostname;
1.12 @@ -92,13 +92,18 @@
1.13 gboolean gmyth_socket_send_command (GMythSocket *gmyth_socket,
1.14 GString *command);
1.15 GString * gmyth_socket_receive_response (GMythSocket *gmyth_socket);
1.16 -int gmyth_socket_sendreceive_stringlist (GMythSocket *gmyth_socket,
1.17 +gint gmyth_socket_sendreceive_stringlist (GMythSocket *gmyth_socket,
1.18 GMythStringList *str_list);
1.19
1.20 gboolean gmyth_socket_connect (GMythSocket *gmyth_socket,
1.21 const gchar *hostname, gint port);
1.22 gboolean gmyth_socket_connect_to_backend (GMythSocket *gmyth_socket,
1.23 - const gchar *hostname_backend, int port, gboolean blocking_client);
1.24 + const gchar *hostname_backend, gint port,
1.25 + gboolean blocking_client);
1.26 +
1.27 +gboolean gmyth_socket_connect_to_backend_events (GMythSocket *gmyth_socket,
1.28 + const gchar *hostname_backend, gint port,
1.29 + gboolean blocking_client);
1.30
1.31 GString * gmyth_socket_get_local_hostname (void);
1.32
1.33 @@ -112,7 +117,7 @@
1.34
1.35 gboolean gmyth_socket_write_stringlist(GMythSocket *gmyth_socket,
1.36 GMythStringList* str_list);
1.37 -int gmyth_socket_read_stringlist(GMythSocket *gmyth_socket,
1.38 +gint gmyth_socket_read_stringlist(GMythSocket *gmyth_socket,
1.39 GMythStringList* str_list);
1.40 G_END_DECLS
1.41