]> git.sesse.net Git - vlc/blobdiff - include/netutils.h
* ALL: new module API. Makes a few things a lot simpler, and we gain
[vlc] / include / netutils.h
index 7c88dddfdea9e55b4e0743c1ab8de644e62ffca0..2d47af293efb8288a52ef32e2a0acb0545e6105a 100644 (file)
@@ -4,7 +4,7 @@
  * modules.
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: netutils.h,v 1.21 2002/06/01 18:04:48 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>
@@ -33,8 +33,8 @@
 struct sockaddr_in;
 int   network_BuildAddr       ( struct sockaddr_in *, char *, int ); 
 
-#define network_ChannelJoin(a,b) __network_ChannelJoin(CAST_TO_VLC_OBJECT(a),b)
-#define network_ChannelCreate(a) __network_ChannelCreate(CAST_TO_VLC_OBJECT(a))
+#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 * ) );