MythTV
master
|
#include "unziputil.h"
#include <array>
#include "zlib.h"
#include <QByteArray>
#include <QFile>
#include "mythlogging.h"
#include "unzip2.h"
Go to the source code of this file.
Macros | |
#define | Z_NULL nullptr |
Functions | |
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) |
#define Z_NULL nullptr |
Definition at line 7 of file unziputil.cpp.
bool extractZIP | ( | QString | zipFile, |
const QString & | outDir | ||
) |
Definition at line 17 of file unziputil.cpp.
Referenced by ThemeUpdateTask::LoadVersion(), ThemeChooser::LoadVersion(), HttpConfig::ProcessRequest(), and ThemeExtractThread::run().
bool gzipFile | ( | const QString & | inFilename, |
const QString & | gzipFilename | ||
) |
Definition at line 23 of file unziputil.cpp.
bool gunzipFile | ( | const QString & | gzipFilename, |
const QString & | outFilename | ||
) |
Definition at line 58 of file unziputil.cpp.
QByteArray gzipCompress | ( | const QByteArray & | data | ) |
Definition at line 93 of file unziputil.cpp.
Referenced by MythHTTPEncoding::Compress(), gzipFile(), and HTTPRequest::SendResponse().
QByteArray gzipUncompress | ( | const QByteArray & | data | ) |
Definition at line 150 of file unziputil.cpp.
Referenced by gunzipFile(), and MusicMetadata::updateStreamList().