Name

— (../../zzip/zip.c) zzip_dir_alloc_ext_io, zzip_dir_alloc

Synopsis

 #include <zziplib.h>
ZZIP_DIR* zzip_dir_alloc_ext_io(,  
 ); 
 ;
 ;
ZZIP_DIR* zzip_dir_alloc(); 
 ;

Description

allocate a new ZZIP_DIR handle and do basic initializations before usage by zzip_dir_fdopen zzip_dir_open zzip_file_open or through zzip_open (ext==null flags uses { ".zip" , ".ZIP" } ) (io ==null flags use of posix io defaults)

the zzip_dir_alloc function is obsolete - it was generally used for implementation and exported to let other code build on it. It is now advised to use zzip_dir_alloc_ext_io now on explicitly, just set that second argument to zero to achieve the same functionality as the old style.

Author

Copyright

(c) 1999,2000,2001,2002 Guido Draheim 
           All rights reserved, 
           use under the restrictions of the  
           Lesser GNU General Public License 
           note the additional license information  
           that can be found in COPYING.ZZIP