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

Go to the source code of this file.

Functions

MBASE_PUBLIC int64_t getDiskSpace (const QString &, int64_t &, int64_t &)
 
MBASE_PUBLIC bool extractZIP (const 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)
 
MBASE_PUBLIC QString RemoteDownloadFile (const QString &url, const QString &storageGroup, const QString &filename="")
 
MBASE_PUBLIC QString RemoteDownloadFileNow (const QString &url, const QString &storageGroup, const QString &filename="")
 

Function Documentation

◆ getDiskSpace()

MBASE_PUBLIC int64_t getDiskSpace ( const QString &  ,
int64_t &  ,
int64_t &   
)

◆ extractZIP()

MBASE_PUBLIC bool extractZIP ( const QString &  zipFile,
const QString &  outDir 
)

◆ gzipFile()

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

Definition at line 100 of file mythcoreutil.cpp.

◆ gunzipFile()

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

Definition at line 135 of file mythcoreutil.cpp.

◆ gzipCompress()

MBASE_PUBLIC QByteArray gzipCompress ( const QByteArray &  data)

Definition at line 170 of file mythcoreutil.cpp.

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

◆ gzipUncompress()

MBASE_PUBLIC QByteArray gzipUncompress ( const QByteArray &  data)

Definition at line 228 of file mythcoreutil.cpp.

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

◆ RemoteDownloadFile()

MBASE_PUBLIC QString RemoteDownloadFile ( const QString &  url,
const QString &  storageGroup,
const QString &  filename = "" 
)

◆ RemoteDownloadFileNow()

MBASE_PUBLIC QString RemoteDownloadFileNow ( const QString &  url,
const QString &  storageGroup,
const QString &  filename = "" 
)

Definition at line 306 of file mythcoreutil.cpp.