aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-tube.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-17 20:58:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-21 23:46:53 +0800
commit5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3 (patch)
treed2562c045fa90aaf9ff9a0324e79a7b7e8f2108b /libempathy/empathy-tp-tube.h
parentf5d1a92385d961ebd4751f6c9fa84e8ec37698b6 (diff)
downloadgsoc2013-empathy-5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3.tar
gsoc2013-empathy-5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3.tar.gz
gsoc2013-empathy-5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3.tar.bz2
gsoc2013-empathy-5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3.tar.lz
gsoc2013-empathy-5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3.tar.xz
gsoc2013-empathy-5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3.tar.zst
gsoc2013-empathy-5bd12dbfd7f41cbfdb8cfc7a783b756ce77da6e3.zip
add empathy_tp_tube_call_when_ready. Fixes bug #579735
Diffstat (limited to 'libempathy/empathy-tp-tube.h')
-rw-r--r--libempathy/empathy-tp-tube.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-tube.h b/libempathy/empathy-tp-tube.h
index 8e63945e5..dd9ec4dcf 100644
--- a/libempathy/empathy-tp-tube.h
+++ b/libempathy/empathy-tp-tube.h
@@ -81,6 +81,14 @@ void empathy_tp_tube_accept_stream_tube (EmpathyTpTube *tube,
TpSocketAddressType type, EmpatyTpTubeAcceptStreamTubeCb *callback,
gpointer user_data);
+typedef void (EmpathyTpTubeReadyCb)
+ (EmpathyTpTube *tube, const GError *error, gpointer user_data,
+ GObject *weak_object);
+
+void empathy_tp_tube_call_when_ready (EmpathyTpTube *tube,
+ EmpathyTpTubeReadyCb *callback, gpointer user_data, GDestroyNotify destroy,
+ GObject *weak_object);
+
G_END_DECLS
#endif /* __EMPATHY_TP_TUBE_H__ */