From f5f136b53e8f31f2eaf373240fa46fb57f526112 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 19 Apr 2008 21:04:20 +0000 Subject: Make a more generic API for different socket types svn path=/trunk/; revision=982 --- libempathy/empathy-tp-tube.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libempathy/empathy-tp-tube.h') diff --git a/libempathy/empathy-tp-tube.h b/libempathy/empathy-tp-tube.h index 72314d437..103c92b9d 100644 --- a/libempathy/empathy-tp-tube.h +++ b/libempathy/empathy-tp-tube.h @@ -55,13 +55,13 @@ struct _EmpathyTpTubeClass { GType empathy_tp_tube_get_type (void) G_GNUC_CONST; EmpathyTpTube *empathy_tp_tube_new (TpChannel *channel, guint tube_id); -EmpathyTpTube *empathy_tp_tube_new_ipv4_stream_tube (EmpathyContact *contact, - const gchar *hostname, guint port, const gchar *service); -void empathy_tp_tube_accept_ipv4_stream_tube (EmpathyTpTube *tube); -void empathy_tp_tube_accept_unix_stream_tube (EmpathyTpTube *tube); -void empathy_tp_tube_get_ipv4_socket (EmpathyTpTube *tube, gchar **hostname, +EmpathyTpTube *empathy_tp_tube_new_stream_tube (EmpathyContact *contact, + TpSocketAddressType type, const gchar *hostname, guint port, + const gchar *service); +void empathy_tp_tube_accept_stream_tube (EmpathyTpTube *tube, + TpSocketAddressType type); +void empathy_tp_tube_get_socket (EmpathyTpTube *tube, gchar **hostname, guint *port); -gchar * empathy_tp_tube_get_unix_socket (EmpathyTpTube *tube); G_END_DECLS -- cgit v1.2.3