summaryrefslogtreecommitdiff
path: root/agent/test-add-stream.c
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2007-01-29 16:12:00 +0000
committerDafydd Harries <dafydd.harries@collabora.co.uk>2007-01-29 16:12:00 +0000
commita54f4aacc042c0b7e0144565a4041cf31980a949 (patch)
tree8392118e87db551c57c0aacd14615b84edc45f40 /agent/test-add-stream.c
parent36fed8420409062fda866edf5cbc999d485ed0e5 (diff)
downloadlibnice-a54f4aacc042c0b7e0144565a4041cf31980a949.tar.gz
add "nice" prefix to agent, candidate, address
darcs-hash:20070129161236-c9803-bec5e2eb1477d5e12ae0dd3da3794fb73d180294.gz
Diffstat (limited to 'agent/test-add-stream.c')
-rw-r--r--agent/test-add-stream.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/agent/test-add-stream.c b/agent/test-add-stream.c
index 6d265d4..107a66a 100644
--- a/agent/test-add-stream.c
+++ b/agent/test-add-stream.c
@@ -9,7 +9,7 @@
void
handle_recv (
- Agent *agent,
+ NiceAgent *agent,
guint stream_id,
guint component_id,
guint len,
@@ -21,13 +21,13 @@ handle_recv (
int
main (void)
{
- Agent *agent;
+ NiceAgent *agent;
- agent = ice_agent_new (NULL);
- g_assert (ice_agent_add_stream (agent, handle_recv) == 1);
- g_assert (ice_agent_add_stream (agent, handle_recv) == 2);
- g_assert (ice_agent_add_stream (agent, handle_recv) == 3);
- ice_agent_free (agent);
+ agent = nice_agent_new (NULL);
+ g_assert (nice_agent_add_stream (agent, handle_recv) == 1);
+ g_assert (nice_agent_add_stream (agent, handle_recv) == 2);
+ g_assert (nice_agent_add_stream (agent, handle_recv) == 3);
+ nice_agent_free (agent);
return 0;
}