[vlc-commits] Export vlc_socket()

Rémi Denis-Courmont git at videolan.org
Mon May 14 16:28:52 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 14 17:26:00 2012 +0300| [619b980ef0eb9b91fd45b2657d810c324401e0b2] | committer: Rémi Denis-Courmont

Export vlc_socket()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=619b980ef0eb9b91fd45b2657d810c324401e0b2
---

 include/vlc_network.h |    2 +-
 src/libvlccore.sym    |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/vlc_network.h b/include/vlc_network.h
index 431dfd5..8a8a38d 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -82,7 +82,7 @@ struct msghdr
 #   undef IPV6_JOIN_GROUP
 #endif
 
-int vlc_socket (int, int, int, bool nonblock) VLC_USED;
+VLC_API int vlc_socket (int, int, int, bool nonblock) VLC_USED;
 
 struct sockaddr;
 VLC_API int vlc_accept( int, struct sockaddr *, socklen_t *, bool ) VLC_USED;
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index b9a0c0f..5b130d0 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -454,6 +454,7 @@ vlc_rename
 vlc_getcwd
 vlc_dup
 vlc_pipe
+vlc_socket
 vlc_accept
 utf8_vfprintf
 var_AddCallback



More information about the vlc-commits mailing list