diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-01-20 22:51:45 -0500 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2014-01-31 01:48:59 -0500 |
commit | 949f979a98498d8ceab2a70696f1dbdc9ab96b7f (patch) | |
tree | 8fce1b6ce9cff42c84268dd4dd47fca21ba3d97e /nice | |
parent | 3724af1a0258ba9e9a455cfb3eec65e41ab907fd (diff) | |
download | libnice-949f979a98498d8ceab2a70696f1dbdc9ab96b7f.tar.gz |
agent: Add support for GIO-style I/O streams
This adds three new classes:
• NiceIOStream
• NiceInputStream
• NiceOutputStream
which allow wrapping a single stream/component pair in an I/O stream
which can be used with the standard GIO functions.
The streams are constructed as wrappers around a NiceAgent, with changes
to the NiceAgent’s properties affecting all instantiated streams.
Streams are only supported for reliable connections.
If the NiceAgent stream which underlies a NiceInputStream,
NiceOutputStream or NiceIOStream is removed, the I/O stream is marked as
closed.
This is based on work originally done by Youness Alaoui
<youness.alaoui@collabora.co.uk>.
Diffstat (limited to 'nice')
-rw-r--r-- | nice/libnice.sym | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nice/libnice.sym b/nice/libnice.sym index 014142c..bc25f66 100644 --- a/nice/libnice.sym +++ b/nice/libnice.sym @@ -56,6 +56,9 @@ nice_debug_enable nice_interfaces_get_ip_for_interface nice_interfaces_get_local_interfaces nice_interfaces_get_local_ips +nice_io_stream_new +nice_input_stream_new +nice_output_stream_new pseudo_tcp_set_debug_level pseudo_tcp_socket_close pseudo_tcp_socket_connect |