* modules.
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: netutils.h,v 1.20 2002/06/01 12:31:57 sam Exp $
+ * $Id: netutils.h,v 1.21 2002/06/01 18:04:48 sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Henri Fallon <henri@videolan.org>
struct sockaddr_in;
int network_BuildAddr ( struct sockaddr_in *, char *, int );
-VLC_EXPORT( int, network_ChannelJoin, ( vlc_object_t *, int ) );
-VLC_EXPORT( int, network_ChannelCreate, ( vlc_object_t * ) );
+#define network_ChannelJoin(a,b) __network_ChannelJoin(CAST_TO_VLC_OBJECT(a),b)
+#define network_ChannelCreate(a) __network_ChannelCreate(CAST_TO_VLC_OBJECT(a))
+VLC_EXPORT( int, __network_ChannelJoin, ( vlc_object_t *, int ) );
+VLC_EXPORT( int, __network_ChannelCreate, ( vlc_object_t * ) );