#define net_OpenTCP(a, b, c) __net_ConnectTCP(VLC_OBJECT(a), b, c)
VLC_EXPORT( int, __net_ConnectTCP, ( vlc_object_t *p_this, const char *psz_host, int i_port ) );
-/*int *net_Listen, (vlc_object_t *p_this, const char *psz_host, int i_port,
- int family, int socktype, int protocol);*/
+int *net_Listen (vlc_object_t *p_this, const char *psz_host, int i_port,
+ int family, int socktype, int protocol);
VLC_EXPORT( int, net_ListenSingle, (vlc_object_t *p_this, const char *psz_host, int i_port,
int family, int socktype, int protocol) );
}
-static int *net_Listen (vlc_object_t *p_this, const char *psz_host,
- int i_port, int family, int socktype, int protocol)
+int *net_Listen (vlc_object_t *p_this, const char *psz_host,
+ int i_port, int family, int socktype, int protocol)
{
struct addrinfo hints, *res;