MythTV  master
unziputil.h File Reference
#include <QByteArray>
#include <QString>
#include "mythbaseexp.h"
Include dependency graph for unziputil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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

Function Documentation

◆ extractZIP()

MBASE_PUBLIC bool extractZIP ( QString  zipFile,
const QString &  outDir 

◆ gzipFile()

MBASE_PUBLIC bool gzipFile ( const QString &  inFilename,
const QString &  zipFilename 

Definition at line 23 of file unziputil.cpp.

◆ gunzipFile()

MBASE_PUBLIC bool gunzipFile ( const QString &  zipFilename,
const QString &  outFilename 

Definition at line 58 of file unziputil.cpp.

◆ gzipCompress()

MBASE_PUBLIC QByteArray gzipCompress ( const QByteArray &  data)

Definition at line 93 of file unziputil.cpp.

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

◆ gzipUncompress()

MBASE_PUBLIC QByteArray gzipUncompress ( const QByteArray &  data)

Definition at line 150 of file unziputil.cpp.

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