summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-01-23 19:35:27 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-01-31 01:49:00 -0500
commit07af02cf8b656baf2014667d0ec10f38b27f9ad8 (patch)
tree07bf13ad656d226afa0f8d170c83ba62dad0da20
parent18e2e3a2cd3b71b5bafac4eb5a4e4d3ccad883e3 (diff)
downloadlibnice-07af02cf8b656baf2014667d0ec10f38b27f9ad8.tar.gz
nice: Add nice_agent_build_io_stream to exported symbols
-rw-r--r--agent/agent.c1
-rw-r--r--nice/libnice.sym1
-rw-r--r--tests/test-build-io-stream.c12
3 files changed, 9 insertions, 5 deletions
diff --git a/agent/agent.c b/agent/agent.c
index 4d09223..59f1116 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -67,6 +67,7 @@
#include "agent.h"
#include "agent-priv.h"
#include "agent-signals-marshal.h"
+#include "iostream.h"
#include "stream.h"
#include "interfaces.h"
diff --git a/nice/libnice.sym b/nice/libnice.sym
index f075a57..92f553f 100644
--- a/nice/libnice.sym
+++ b/nice/libnice.sym
@@ -16,6 +16,7 @@ nice_address_set_port
nice_address_to_string
nice_agent_add_local_address
nice_agent_add_stream
+nice_agent_build_io_stream
nice_agent_recv
nice_agent_recv_nonblocking
nice_agent_attach_recv
diff --git a/tests/test-build-io-stream.c b/tests/test-build-io-stream.c
index 45da124..f9e4536 100644
--- a/tests/test-build-io-stream.c
+++ b/tests/test-build-io-stream.c
@@ -40,11 +40,13 @@
#include "agent.h"
+#include "iostream.h"
+
static void
test_invalid_stream (NiceAddress *addr)
{
NiceAgent *agent;
- NiceIOStream *io_stream;
+ GIOStream *io_stream;
GInputStream *input_stream;
GOutputStream *output_stream;
uint8_t data[65536];
@@ -81,7 +83,7 @@ test_io_stream_properties (NiceAddress *addr, gboolean add_stream_first)
{
NiceAgent *agent;
guint stream_id;
- NiceIOStream *io_stream;
+ GIOStream *io_stream;
GInputStream *input_stream;
GOutputStream *output_stream;
@@ -145,7 +147,7 @@ test_pollable_properties (NiceAddress *addr)
{
NiceAgent *agent;
guint stream_id;
- NiceIOStream *io_stream;
+ GIOStream *io_stream;
GInputStream *input_stream;
GOutputStream *output_stream;
GPollableInputStream *pollable_input_stream;
@@ -315,7 +317,7 @@ test_pollable_cancellation (NiceAddress *addr)
{
NiceAgent *agent;
guint stream_id;
- NiceIOStream *io_stream;
+ GIOStream *io_stream;
GInputStream *input_stream;
GOutputStream *output_stream;
GPollableInputStream *pollable_input_stream;
@@ -393,7 +395,7 @@ test_zero_length_reads_writes (NiceAddress *addr)
{
NiceAgent *agent;
guint stream_id;
- NiceIOStream *io_stream;
+ GIOStream *io_stream;
GInputStream *input_stream;
GOutputStream *output_stream;
GPollableInputStream *pollable_input_stream;