[Vala] [PATCH] Add libarchive bindings.



Hi,

I attached a patch which adds some bindings for libarchive. I only
tested a small subset of it, but I was able to extract files and
list the archive contents.

Although upstream does not use enums, I have used them in the bindings
to have a differentation between the various 'int' values used by
libarchive. These enums have a "[CCode (cname=int)]" annotation and
are thus translated correctly.

The bindings also handle the posix profile by using Posix.FILE instead
of GLib.FileStream. They are not complete due to missing bindings for
ACL related functions.

Regards,
Julian
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: 0001-Add-libarchive-bindings.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]