]> git.sesse.net Git - vlc/blobdiff - include/vlc_access.h
A bit of headers cleanup
[vlc] / include / vlc_access.h
index 06b6d44f8c32345eb6bd15fc68244ea61c7d2e20..6d1126a67ad0b8f40da3f272f38561001e9afc55 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * vlc_access.h: Access descriptor, queries and methods
  *****************************************************************************
- * Copyright (C) 1999-2004 the VideoLAN team
+ * Copyright (C) 1999-2006 the VideoLAN team
  * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
@@ -24,6 +24,8 @@
 #ifndef _VLC_ACCESS_H
 #define _VLC_ACCESS_H 1
 
+#include <vlc_block.h>
+
 /**
  * \defgroup access Access
  * @{
@@ -74,7 +76,7 @@ struct access_t
     access_t    *p_source;
 
     /* Access can fill this entry to force a demuxer
-     * XXX: fill it once you know for sure you will succed
+     * XXX: fill it once you know for sure you will succeed
      * (if you fail, this value won't be reseted */
     char        *psz_demux;
 
@@ -109,16 +111,12 @@ struct access_t
     access_sys_t *p_sys;
 };
 
-#define access2_New( a, b, c, d, e ) __access2_New(VLC_OBJECT(a), b, c, d, e )
-VLC_EXPORT( access_t *, __access2_New,  ( vlc_object_t *p_obj, char *psz_access, char *psz_demux, char *psz_path, vlc_bool_t b_quick ) );
-VLC_EXPORT( access_t *, access2_FilterNew, ( access_t *p_source, char *psz_access_filter ) );
-VLC_EXPORT( void,      access2_Delete, ( access_t * ) );
-
 static inline int access2_vaControl( access_t *p_access, int i_query, va_list args )
 {
     if( !p_access ) return VLC_EGENERIC;
     return p_access->pf_control( p_access, i_query, args );
 }
+
 static inline int access2_Control( access_t *p_access, int i_query, ... )
 {
     va_list args;