diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-20 05:04:20 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-20 05:04:20 +0800 |
commit | f5f136b53e8f31f2eaf373240fa46fb57f526112 (patch) | |
tree | 6a0b7b036caef73da89433c5374d355d26991d40 /libempathy/empathy-tp-tube.h | |
parent | c12336006558fc5c6975c50529b3174d90d12308 (diff) | |
download | gsoc2013-empathy-f5f136b53e8f31f2eaf373240fa46fb57f526112.tar gsoc2013-empathy-f5f136b53e8f31f2eaf373240fa46fb57f526112.tar.gz gsoc2013-empathy-f5f136b53e8f31f2eaf373240fa46fb57f526112.tar.bz2 gsoc2013-empathy-f5f136b53e8f31f2eaf373240fa46fb57f526112.tar.lz gsoc2013-empathy-f5f136b53e8f31f2eaf373240fa46fb57f526112.tar.xz gsoc2013-empathy-f5f136b53e8f31f2eaf373240fa46fb57f526112.tar.zst gsoc2013-empathy-f5f136b53e8f31f2eaf373240fa46fb57f526112.zip |
Make a more generic API for different socket types
svn path=/trunk/; revision=982
Diffstat (limited to 'libempathy/empathy-tp-tube.h')
-rw-r--r-- | libempathy/empathy-tp-tube.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 |