summaryrefslogtreecommitdiff
path: root/socket/socket.c
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.(none)>2008-11-03 16:30:05 -0500
committerYouness Alaoui <kakaroto@kakaroto.(none)>2008-11-03 16:30:05 -0500
commit753b61bd6980cd6ac495c51f5d7c5b04a1aadedb (patch)
tree301e7eb7d5526d94d9f5579fdddcc4c1bed0c9f8 /socket/socket.c
parentbbefb854c79fe7a6da74cc602ec01ca61b555a0e (diff)
downloadlibnice-753b61bd6980cd6ac495c51f5d7c5b04a1aadedb.tar.gz
Add an else to HAVE_CONFIG_H in order to define NICEAPI_EXPORT. Also removed that define from not public functions and removed them from libnice.sym
Diffstat (limited to 'socket/socket.c')
-rw-r--r--socket/socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/socket/socket.c b/socket/socket.c
index acf66a5..3c73d58 100644
--- a/socket/socket.c
+++ b/socket/socket.c
@@ -44,7 +44,7 @@
#include "socket.h"
-NICEAPI_EXPORT gint
+gint
nice_socket_recv (
NiceSocket *sock,
NiceAddress *from,
@@ -54,7 +54,7 @@ nice_socket_recv (
return sock->recv (sock, from, len, buf);
}
-NICEAPI_EXPORT void
+void
nice_socket_send (
NiceSocket *sock,
const NiceAddress *to,
@@ -64,13 +64,13 @@ nice_socket_send (
sock->send (sock, to, len, buf);
}
-NICEAPI_EXPORT gboolean
+gboolean
nice_socket_is_reliable (NiceSocket *sock)
{
return sock->is_reliable (sock);
}
-NICEAPI_EXPORT void
+void
nice_socket_free (NiceSocket *sock)
{
if (sock) {