Horizon
Classes | Namespaces | Functions
zip.hpp File Reference

A safe modern C++ wrapper on top of libzip. More...

#include <cassert>
#include <cerrno>
#include <cstring>
#include <functional>
#include <iterator>
#include <memory>
#include <string>
#include <zip.h>

Go to the source code of this file.

Classes

class  libzip::file
 File for reading. More...
 
class  libzip::stat_ptr
 Wrapper for stat as pointer. More...
 
class  libzip::archive
 Safe wrapper on the struct zip structure. More...
 
class  libzip::archive::iterator
 Base iterator class. More...
 

Namespaces

 libzip
 The libzip namespace.
 

Functions

source libzip::source_buffer (std::string data) noexcept
 Add a file to the archive using a binary buffer. More...
 
source libzip::source_file (std::string path, uint64_t start=0, int64_t length=-1) noexcept
 Add a file to the archive from the disk. More...
 

Detailed Description

A safe modern C++ wrapper on top of libzip.

Author
David Demelier marka.nosp@m.nd@m.nosp@m.alika.nosp@m.nia..nosp@m.fr
Version
2.0.0-dev