summaryrefslogtreecommitdiff
path: root/agent/discovery.h
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.(none)>2008-10-06 21:23:29 -0400
committerYouness Alaoui <kakaroto@kakaroto.(none)>2008-10-06 21:23:29 -0400
commit01e728286a437ce7c65a3dc93e932eca0b56fac8 (patch)
tree47137cf64197ff85c561707091df36bd534bfc39 /agent/discovery.h
parent4d04f6a4b0a4aea40d4b36ec91286baeb7239246 (diff)
downloadlibnice-01e728286a437ce7c65a3dc93e932eca0b56fac8.tar.gz
Port libnice to the new NiceSocket API
Diffstat (limited to 'agent/discovery.h')
-rw-r--r--agent/discovery.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/agent/discovery.h b/agent/discovery.h
index 9e2b092..07754ed 100644
--- a/agent/discovery.h
+++ b/agent/discovery.h
@@ -48,7 +48,7 @@ struct _CandidateDiscovery
NiceAgent *agent; /**< back pointer to owner */
NiceCandidateType type; /**< candidate type STUN or TURN */
guint socket; /**< XXX: should be taken from local cand: existing socket to use */
- NiceUDPSocket *nicesock; /**< XXX: should be taken from local cand: existing socket to use */
+ NiceSocket *nicesock; /**< XXX: should be taken from local cand: existing socket to use */
NiceAddress server; /**< STUN/TURN server address */
NiceAddress *interface; /**< Address of local interface */
GTimeVal next_tick; /**< next tick timestamp */
@@ -84,7 +84,7 @@ discovery_add_relay_candidate (
guint stream_id,
guint component_id,
NiceAddress *address,
- NiceUDPSocket *base_socket);
+ NiceSocket *base_socket);
NiceCandidate*
discovery_add_server_reflexive_candidate (
@@ -92,7 +92,7 @@ discovery_add_server_reflexive_candidate (
guint stream_id,
guint component_id,
NiceAddress *address,
- NiceUDPSocket *base_socket);
+ NiceSocket *base_socket);
NiceCandidate*
discovery_add_peer_reflexive_candidate (
@@ -100,7 +100,7 @@ discovery_add_peer_reflexive_candidate (
guint stream_id,
guint component_id,
NiceAddress *address,
- NiceUDPSocket *base_socket,
+ NiceSocket *base_socket,
NiceCandidate *local,
NiceCandidate *remote);
@@ -111,7 +111,7 @@ discovery_learn_remote_peer_reflexive_candidate (
Component *component,
guint32 priority,
const NiceAddress *remote_address,
- NiceUDPSocket *udp_socket,
+ NiceSocket *udp_socket,
NiceCandidate *local,
NiceCandidate *remote);