Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ui
qt
utils
wireshark_zip_helper.h
Go to the documentation of this file.
1
12
#ifndef WS_ZIP_HELPER_H
13
#define WS_ZIP_HELPER_H
14
15
#include "config.h"
16
17
#include <QDir>
18
19
#if defined(HAVE_MINIZIP) || defined(HAVE_MINIZIPNG)
20
21
#ifdef HAVE_MINIZIP
22
#include "minizip/zip.h"
23
#else
24
#include "minizip-ng/zip.h"
25
#endif
26
27
class
WiresharkZipHelper
28
{
29
public
:
30
static
bool
zip(QString zipFile, QStringList files, QString relativeTo = QString());
31
static
bool
unzip(QString zipFile, QString directory,
bool
(*fileCheck)(QString fileName,
int
fileSize) = Q_NULLPTR, QString (*cleanName)(QString name) = Q_NULLPTR);
32
33
protected
:
34
static
void
addFileToZip(zipFile zf, QString filepath, QString fileInZip);
35
36
};
37
38
#endif
39
40
#endif
// WS_ZIP_HELPER_H
Generated by
1.9.8