Guitar
zip.h
Go to the documentation of this file.
1 #ifndef ZIP_H
2 #define ZIP_H
3 
4 #include <string>
5 
6 namespace zip {
7 
8 class Zip {
9 
10 
11 
12 public:
13  static int archive_main();
14  static bool extract_from_data(const char *zipdata, size_t zipsize, const std::string &destdir);
15  static bool extract(const std::string &zipfile, const std::string &destdir);
16  static int ziptest();
17 };
18 
19 } // namespace zip
20 
21 #endif // ZIP_H
Definition: zip.h:8
static int archive_main()
Definition: zip.cpp:23
static bool extract_from_data(const char *zipdata, size_t zipsize, const std::string &destdir)
Definition: zip.cpp:48
static bool extract(const std::string &zipfile, const std::string &destdir)
Definition: zip.cpp:88
static int ziptest()
Definition: zip.cpp:104
Definition: zip.cpp:21