From c935e4cce2b8d4839fd98e9517564939583c157c Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Tue, 4 Nov 2008 16:18:14 -0500 Subject: change priv_attach_stream_component_socket to agent_attach_stream_component_socket --- agent/agent-priv.h | 2 +- agent/agent.c | 6 +++--- agent/discovery.c | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/agent/agent-priv.h b/agent/agent-priv.h index dafd2c2..c08bd53 100644 --- a/agent/agent-priv.h +++ b/agent/agent-priv.h @@ -135,7 +135,7 @@ guint64 agent_candidate_pair_priority (NiceAgent *agent, NiceCandidate *local, N GSource *agent_timeout_add_with_context (NiceAgent *agent, guint interval, GSourceFunc function, gpointer data); -void priv_attach_stream_component_socket (NiceAgent *agent, +void agent_attach_stream_component_socket (NiceAgent *agent, Stream *stream, Component *component, NiceSocket *socket); diff --git a/agent/agent.c b/agent/agent.c index 3d4ceb0..314ad7c 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -777,7 +777,7 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent, return FALSE; } - priv_attach_stream_component_socket (agent, stream, + agent_attach_stream_component_socket (agent, stream, component, cdisco->nicesock); } cdisco->turn = turn; @@ -1605,7 +1605,7 @@ nice_agent_g_source_cb ( */ void -priv_attach_stream_component_socket (NiceAgent *agent, +agent_attach_stream_component_socket (NiceAgent *agent, Stream *stream, Component *component, NiceSocket *socket) @@ -1643,7 +1643,7 @@ priv_attach_stream_component (NiceAgent *agent, GSList *i; for (i = component->sockets; i; i = i->next) - priv_attach_stream_component_socket (agent, stream, component, i->data); + agent_attach_stream_component_socket (agent, stream, component, i->data); return TRUE; } diff --git a/agent/discovery.c b/agent/discovery.c index 41548e6..d8e5bf6 100644 --- a/agent/discovery.c +++ b/agent/discovery.c @@ -414,7 +414,8 @@ NiceCandidate *discovery_add_local_host_candidate ( if (udp_socket) { gboolean result; - priv_attach_stream_component_socket (agent, stream, component, udp_socket); + agent_attach_stream_component_socket (agent, stream, + component, udp_socket); candidate->sockptr = udp_socket; candidate->addr = udp_socket->addr; -- cgit v1.2.1