zipios 2.3.4
Zipios -- a small C++ library providing easy access to .zip files.
Namespaces | Functions | Variables
zipdir.cpp File Reference

Tool used to create a Zip archive from a file or a directory. More...

#include <zipios/directorycollection.hpp>
#include <zipios/zipfile.hpp>
#include <cstring>
#include <iostream>
#include <fstream>
Include dependency graph for zipdir.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{zipdir.cpp}
 

Functions

int main (int argc, char *argv[])
 
void anonymous_namespace{zipdir.cpp}::usage ()
 

Variables

char * anonymous_namespace{zipdir.cpp}::g_progname
 

Detailed Description

This tool is mainly an example of how one can create a zip file using the zipios library. It is not in any way meant to replace the standard zip command line tool (although it's probably much smaller if you do not need all the capabilities offered by zip).

Definition in file zipdir.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)