]> git.sesse.net Git - vlc/blobdiff - include/netutils.h
* Added a session announcement protol module (enabled by default).
[vlc] / include / netutils.h
index 4f994d61a07d64f512bb55674e366296f7e362fb..2d47af293efb8288a52ef32e2a0acb0545e6105a 100644 (file)
@@ -4,7 +4,7 @@
  * modules.
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: netutils.h,v 1.16 2001/11/12 04:12:37 sam Exp $
+ * $Id: netutils.h,v 1.22 2002/07/31 20:56:50 sam Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Henri Fallon <henri@videolan.org>
  * Prototypes
  *****************************************************************************/
 struct sockaddr_in;
-int   network_BuildLocalAddr  ( struct sockaddr_in *, int, char * ); 
-int   network_BuildRemoteAddr ( struct sockaddr_in *, char * );
-int   network_ChannelJoin     ( int );
-int   network_ChannelCreate   ( void );
+int   network_BuildAddr       ( struct sockaddr_in *, char *, int ); 
+
+#define network_ChannelJoin(a,b) __network_ChannelJoin(VLC_OBJECT(a),b)
+#define network_ChannelCreate(a) __network_ChannelCreate(VLC_OBJECT(a))
+VLC_EXPORT( int, __network_ChannelJoin,     ( vlc_object_t *, int ) );
+VLC_EXPORT( int, __network_ChannelCreate,   ( vlc_object_t * ) );