ARB
|
#include "arb_core.h"
Go to the source code of this file.
Enumerations | |
enum | FileCompressionMode { ZFILE_AUTODETECT, ZFILE_UNCOMPRESSED, ZFILE_GZIP, ZFILE_BZIP2, ZFILE_XZ, ZFILE_UNDEFINED, ZFILE_REAL_CMODES = ZFILE_UNDEFINED-ZFILE_UNCOMPRESSED-1 } |
Functions | |
FILE * | ARB_zfopen (const char *name, const char *mode, FileCompressionMode cmode, GB_ERROR &error, bool hideStderr) |
GB_ERROR | ARB_zfclose (FILE *fp) |
enum FileCompressionMode |
Enumerator | |
---|---|
ZFILE_AUTODETECT | |
ZFILE_UNCOMPRESSED | |
ZFILE_GZIP | |
ZFILE_BZIP2 | |
ZFILE_XZ | |
ZFILE_UNDEFINED | |
ZFILE_REAL_CMODES |
Definition at line 22 of file arb_zfile.h.
FILE* ARB_zfopen | ( | const char * | name, |
const char * | mode, | ||
FileCompressionMode | cmode, | ||
GB_ERROR & | error, | ||
bool | hideStderr | ||
) |
Definition at line 42 of file arb_zfile.cxx.
References arb_assert, ARB_executable(), ARB_getenv_ignore_empty(), ARB_strdup(), ARB_warn_about_unwanted_chars(), buffer, GB_IO_error(), GBS_global_string(), GBS_global_string_copy(), implicated, NULp, ZFILE_AUTODETECT, ZFILE_BZIP2, ZFILE_GZIP, ZFILE_UNCOMPRESSED, and ZFILE_XZ.
Referenced by GB_login(), GBT_check_arb_file(), and ArbDBWriter::startSaveAs().
GB_ERROR ARB_zfclose | ( | FILE * | fp | ) |
Definition at line 166 of file arb_zfile.cxx.
References arb_assert, error(), GB_IO_error(), GB_is_fifo(), GBS_global_string(), info, NULp, and status.
Referenced by BufferedPipeReader::close(), ArbDBWriter::finishSave(), GB_login(), and GBT_check_arb_file().