MeshLib C Docs
Loading...
Searching...
No Matches
MRZip.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
11typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
12typedef struct MR_std_istream MR_std_istream; // Defined in `#include <MRCMisc/iostream.h>`.
13typedef struct MR_std_vector_std_filesystem_path MR_std_vector_std_filesystem_path; // Defined in `#include <MRCMisc/std_vector_std_filesystem_path.h>`.
14
15
25MRC_API MR_expected_void_std_string *MR_decompressZip_std_filesystem_path(const char *zipFile, const char *zipFile_end, const char *targetFolder, const char *targetFolder_end, const char *password);
26
36MRC_API MR_expected_void_std_string *MR_decompressZip_std_istream(MR_std_istream *zipStream, const char *targetFolder, const char *targetFolder_end, const char *password);
37
52MRC_API MR_expected_void_std_string *MR_compressZip(const char *zipFile, const char *zipFile_end, const char *sourceFolder, const char *sourceFolder_end, const MR_std_vector_std_filesystem_path *excludeFiles, const char *password, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb);
53
54#ifdef __cplusplus
55} // extern "C"
56#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_std_istream MR_std_istream
Definition MRCtm.h:21
struct MR_std_vector_std_filesystem_path MR_std_vector_std_filesystem_path
Definition MRSceneLoad.h:17
MRC_API MR_expected_void_std_string * MR_decompressZip_std_istream(MR_std_istream *zipStream, const char *targetFolder, const char *targetFolder_end, const char *password)
decompresses given binary stream (containing the data of a zip file only) into given folder
MRC_API MR_expected_void_std_string * MR_decompressZip_std_filesystem_path(const char *zipFile, const char *zipFile_end, const char *targetFolder, const char *targetFolder_end, const char *password)
decompresses given zip-file into given folder
MRC_API MR_expected_void_std_string * MR_compressZip(const char *zipFile, const char *zipFile_end, const char *sourceFolder, const char *sourceFolder_end, const MR_std_vector_std_filesystem_path *excludeFiles, const char *password, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
compresses given folder in given zip-file
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11