[Nice] [nice/master] Make the socket attach function available to other files

Olivier Crete olivier.crete at collabora.co.uk
Wed Nov 5 14:01:09 PST 2008


darcs-hash:20080426002714-3e2dc-0c7ae499ea4c1128be98a2ac863c6553a94edfab.gz
---
 agent/agent-priv.h |    5 +++++
 agent/agent.c      |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/agent/agent-priv.h b/agent/agent-priv.h
index ec753ce..c590c74 100644
--- a/agent/agent-priv.h
+++ b/agent/agent-priv.h
@@ -133,4 +133,9 @@ guint64 agent_candidate_pair_priority (NiceAgent *agent, NiceCandidate *local, N
 
 guint agent_timeout_add_with_context (NiceAgent *agent, guint interval, GSourceFunc function, gpointer data);
 
+void priv_attach_stream_component_socket (NiceAgent *agent,
+    Stream *stream,
+    Component *component,
+    NiceUDPSocket *udp_socket);
+
 #endif /*_NICE_AGENT_PRIV_H */
diff --git a/agent/agent.c b/agent/agent.c
index fee2d6f..249a394 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -1762,7 +1762,7 @@ nice_agent_g_source_cb (
  * Attaches one socket handle to the main loop event context
  */
 
-static void
+void
 priv_attach_stream_component_socket (NiceAgent *agent,
     Stream *stream,
     Component *component,
-- 
1.5.6.5




More information about the Nice mailing list