summaryrefslogtreecommitdiff
path: root/socket/udp-turn.h
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.(none)>2008-10-22 18:26:56 -0400
committerYouness Alaoui <kakaroto@kakaroto.(none)>2008-10-22 18:26:56 -0400
commit16006929fe49667c35837f59a8d58ecbfabb1d5f (patch)
treeac0064427b93a05e8342278bd0651a8b58f913af /socket/udp-turn.h
parentec7dbae5b7346810421bbceb27383167bce7fe53 (diff)
downloadlibnice-16006929fe49667c35837f59a8d58ecbfabb1d5f.tar.gz
move includes and add include of the agent because tcp-turn needs the NiceAgent and the NiceUdpTurnSocketCompatibility
Diffstat (limited to 'socket/udp-turn.h')
-rw-r--r--socket/udp-turn.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/socket/udp-turn.h b/socket/udp-turn.h
index 92833b0..6d4f0ee 100644
--- a/socket/udp-turn.h
+++ b/socket/udp-turn.h
@@ -38,10 +38,6 @@
#ifndef _UDP_TURN_H
#define _UDP_TURN_H
-#include "socket.h"
-#include "agent.h"
-
-G_BEGIN_DECLS
typedef enum {
NICE_UDP_TURN_SOCKET_COMPATIBILITY_DRAFT9,
@@ -49,6 +45,12 @@ typedef enum {
NICE_UDP_TURN_SOCKET_COMPATIBILITY_MSN,
} NiceUdpTurnSocketCompatibility;
+#include "socket.h"
+#include "agent.h"
+
+
+G_BEGIN_DECLS
+
gint
nice_udp_turn_socket_parse_recv (
NiceSocket *sock,