MythTV  master
Macros | Functions
unziputil.cpp File Reference
#include "unziputil.h"
#include <array>
#include "zlib.h"
#include <QByteArray>
#include <QFile>
#include "mythlogging.h"
#include "unzip2.h"
Include dependency graph for unziputil.cpp:

Go to the source code of this file.


#define Z_NULL   nullptr


bool extractZIP (QString zipFile, const QString &outDir)
bool gzipFile (const QString &inFilename, const QString &gzipFilename)
bool gunzipFile (const QString &gzipFilename, const QString &outFilename)
QByteArray gzipCompress (const QByteArray &data)
QByteArray gzipUncompress (const QByteArray &data)

Macro Definition Documentation


#define Z_NULL   nullptr

Definition at line 7 of file unziputil.cpp.

Function Documentation

◆ extractZIP()

bool extractZIP ( QString  zipFile,
const QString &  outDir 

◆ gzipFile()

bool gzipFile ( const QString &  inFilename,
const QString &  gzipFilename 

Definition at line 23 of file unziputil.cpp.

◆ gunzipFile()

bool gunzipFile ( const QString &  gzipFilename,
const QString &  outFilename 

Definition at line 58 of file unziputil.cpp.

◆ gzipCompress()

QByteArray gzipCompress ( const QByteArray &  data)

Definition at line 93 of file unziputil.cpp.

Referenced by MythHTTPEncoding::Compress(), gzipFile(), and HTTPRequest::SendResponse().

◆ gzipUncompress()

QByteArray gzipUncompress ( const QByteArray &  data)

Definition at line 150 of file unziputil.cpp.

Referenced by gunzipFile(), and MusicMetadata::updateStreamList().