]> git.sesse.net Git - vlc/blobdiff - modules/access/zip/zip.h
modules: use the new add_shortcut capability (add multiple shortcuts at a time).
[vlc] / modules / access / zip / zip.h
index e6dde5a97ee3992895dca89e3d231deb95120a82..6137a0e6aa06cfb1d97809322d79c99f47bf4bb7 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
- * zip.h: Module (access+demux) to extract different archives, based on zlib
+ * zip.h: Module (access+filter) to extract different archives, based on zlib
  *****************************************************************************
- * Copyright (C) 2007 the VideoLAN team
+ * Copyright (C) 2009 the VideoLAN team
  * $Id$
  *
  * Authors: Jean-Philippe AndrĂ© <jpeg@videolan.org>
@@ -28,7 +28,6 @@
 #ifndef ZIP_ACCESSDEMUX_H
 #define ZIP_ACCESSDEMUX_H
 
-#include <vlc/vlc.h>
 #include <vlc_common.h>
 #include <vlc_url.h>
 #include <vlc_strings.h>
@@ -42,8 +41,8 @@
 
 #define ZIP_FILENAME_LEN 512
 #define ZIP_BUFFER_LEN 32768
-#define ZIP_SEP      "|"
-#define ZIP_SEP_CHAR '|'
+#define ZIP_SEP      "!/"
+#define ZIP_SEP_LEN  2
 
 
 /** **************************************************************************
@@ -58,6 +57,9 @@ void StreamClose( vlc_object_t* );
 int AccessOpen( vlc_object_t *p_this );
 void AccessClose( vlc_object_t *p_this );
 
+/** Common function */
+bool isAllowedChar( char c );
+
 /** **************************************************************************
  * zipIO function headers : how to use vlc_stream to read the zip
  * Note: static because the implementations differ