libzip: libzip-discuss: Re: zipint.h missing in debian package

Thread

Thread Index

Message

From: Dieter Baron <dillo%danbala.tuwien.ac.at@localhost>
To: Claudio_Unige <claudiounige%gmail.com@localhost>
Subject: Re: zipint.h missing in debian package
Date: Thu, 17 Jun 2010 13:46:29 +0200

> thanks everyone for the info I now understand, there is only one thing that I 
> believe is missing, which is creating a struct zip without creating a file. 
> My use case is I have a zip file in memory and not on the filesystem and I 
> want to extract some files,

  You do realise that zip_source_buffer is for *adding* a file to a zip 
archive?  It cannot be used to open a zip archive from a memory buffer, nor can 
it be used to extract files from a zip archive.

  Reading zip archives from memory instead of the file system is indeed a 
missing feature, and one we will add, probably when we add the I/O abstraction 
layer.

yours,
dillo

Made by MHonArc.