]> git.sesse.net Git - vlc/blobdiff - include/netutils.h
* This the last piece of the new configuration module. You can now save your
[vlc] / include / netutils.h
index 96b93b203d0c0be7f6baf074bc8cd21b2243f0da..552a94e0ff6001f444de2d19eeb53e5a8854d304 100644 (file)
@@ -4,7 +4,7 @@
  * modules.
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: netutils.h,v 1.11 2001/04/27 18:07:56 henri Exp $
+ * $Id: netutils.h,v 1.18 2001/12/30 07:09:54 sam Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Henri Fallon <henri@videolan.org>
 /*****************************************************************************
  * Prototypes
  *****************************************************************************/
-int network_BuildLocalAddr ( struct sockaddr_in *, int, char * ); 
-int network_BuildRemoteAddr( struct sockaddr_in *, char * );
-int network_ChannelJoin( int i_channel_id );
-int network_ChannelCreate( void );
+struct sockaddr_in;
+int   network_BuildAddr       ( struct sockaddr_in *, char *, int ); 
+
+#ifndef PLUGIN
+int   network_ChannelJoin     ( int );
+int   network_ChannelCreate   ( void );
+#else
+#   define network_ChannelCreate p_symbols->network_ChannelCreate
+#   define network_ChannelJoin   p_symbols->network_ChannelJoin
+#endif
+