]> git.sesse.net Git - vlc/blobdiff - include/vlc_network.h
Minor code factorization
[vlc] / include / vlc_network.h
index 0b9267586a3b473ab16f41b98ddb2760d9c58f5c..99a8df8e9d1182e0be70095a6309d1b72bcf3741 100644 (file)
@@ -69,6 +69,7 @@ extern "C" {
 
 /* Portable networking layer communication */
 int net_Socket (vlc_object_t *obj, int family, int socktype, int proto);
+int net_SetupSocket (int fd);
 
 #define net_Connect(a, b, c, d, e) __net_Connect(VLC_OBJECT(a), b, c, d, e)
 VLC_EXPORT( int, __net_Connect, (vlc_object_t *p_this, const char *psz_host, int i_port, int socktype, int protocol) );