Skip to content

A _passive_, _non blocking_, _in memory_, tar inflate library for C++.

License

Notifications You must be signed in to change notification settings

sebastianstolzenberg/tarlib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tarlib

( near neighbor of zlib, libbzip2 and ziplib )

A passive, non blocking, in memory tar inflate library. Inspired by zlib. Big brother to ziplib.

Building:

Contained in the project is a CMake project for building the library as well as a test program. I would recommend ninja for building. Following my command line:

mkdir build
cd build
cmake –GNinja ..
ninja

Usage:

tarlib works very similar to zlib. This means it is your duty to put data into a tar_stream and invoke tar_inflate until all input data was processed. As a direct result you can use tarlib for streaming and do not need a file.

For usage see test/test.cpp.

Limitations:

Since I currently have no need to create tars, tarlib only extracts tars. Also you will need a C++ compiler to compile and a C++ stdlib for running tarlib. The C-style interface is mainly to resemble zlib.

License:

Apache License (see LICENSE file)

Plan:

Currently tarlib is for testing the interface and see what needs to be ironed out. If anyone wants to extend tarlib, pull requests are very welcome.

About

A _passive_, _non blocking_, _in memory_, tar inflate library for C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published