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

Thread

Thread Index

Message

From: Claudio_Unige <claudiounige%gmail.com@localhost>
To: Pierre Joye <pierre.php%gmail.com@localhost>
Subject: Re: zipint.h missing in debian package
Date: Thu, 17 Jun 2010 11:33:45 +0200



On Thu, Jun 17, 2010 at 11:29 AM, Pierre Joye <pierre.php%gmail.com@localhost> wrote:
hi,

On Thu, Jun 17, 2010 at 10:45 AM, Claudio_Unige <claudiounige%gmail.com@localhost> wrote:
> Hi,
>
> I am using libzip-dev package for my distribution but when I try buillding
> he cannot find the definition of the struct zip. I found in the source it is
> defined in zipint.h but that header is not present in my system's include
> folder.
>
> Is there a missing dependency I dont know of?

That's an internal header only used to build libzip. To use libzip,
only the zip.h should be used.

Cheers,
--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

Hi, thanks for the answer, but I cannot open a zip file because I cannot create a struct zip on the stack to pass to zip_source_buffer. gcc says that "error: storage size of ‘arc’ isn’t known" also in zip.h there is struct zip; but there is no declaration of the structure and its contents.

Maybe I misunderstood how to use zip_source_buffer, how would you use it?

-Claudio

Made by MHonArc.