diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2008-04-24 15:02:18 +0000 |
---|---|---|
committer | Jonny Lamb <jonnylamb@jonnylamb.com> | 2008-08-11 20:01:10 +0100 |
commit | 99a065e6bfc17c64688f443bb7e2119921574337 (patch) | |
tree | 11252eef949f3ae233c8648f6e70a440f4ef7ae4 /src/tube-iface.h | |
parent | 1ce76bee413cd18bfb0ee9518b2cf6c99ab763c7 (diff) | |
download | telepathy-salut-99a065e6bfc17c64688f443bb7e2119921574337.tar.gz |
Send iq offer only 1 time
20080424150218-a41c0-c88977311240702d9fa54b8bdb9f0db99e6fe47a.gz
Diffstat (limited to 'src/tube-iface.h')
-rw-r--r-- | src/tube-iface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tube-iface.h b/src/tube-iface.h index db55ae36..6e0af49a 100644 --- a/src/tube-iface.h +++ b/src/tube-iface.h @@ -33,6 +33,7 @@ struct _SalutTubeIfaceClass { GTypeInterface parent; gboolean (*accept) (SalutTubeIface *tube, GError **error); + gboolean (*offer_needed) (SalutTubeIface *tube); void (*close) (SalutTubeIface *tube); void (*add_bytestream) (SalutTubeIface *tube, GibberBytestreamIface *bytestream); @@ -51,6 +52,10 @@ GType salut_tube_iface_get_type (void); (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SALUT_TYPE_TUBE_IFACE,\ SalutTubeIfaceClass)) +/* return TRUE if the <iq> to offer the tube has never been sent */ +gboolean +salut_tube_iface_offer_needed (SalutTubeIface *tube); + gboolean salut_tube_iface_accept (SalutTubeIface *tube, GError **error); |