KDECore
kgzipfilter.cpp File Reference
#include "kgzipfilter.h"
#include <time.h>
#include <zlib.h>
#include <QDebug>
#include <QtCore/QIODevice>
Go to the source code of this file.
Macros | |
#define | ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ |
#define | COMMENT 0x10 /* bit 4 set: file comment present */ |
#define | EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ |
#define | HEAD_CRC 0x02 /* bit 1 set: header CRC present */ |
#define | ORIG_NAME 0x08 /* bit 3 set: original file name present */ |
#define | put_long(n) |
#define | put_short(w) |
#define | RESERVED 0xE0 /* bits 5..7: reserved */ |
Macro Definition Documentation
◆ ASCII_FLAG
#define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ |
Definition at line 29 of file kgzipfilter.cpp.
◆ COMMENT
#define COMMENT 0x10 /* bit 4 set: file comment present */ |
Definition at line 33 of file kgzipfilter.cpp.
◆ EXTRA_FIELD
#define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ |
Definition at line 31 of file kgzipfilter.cpp.
◆ HEAD_CRC
#define HEAD_CRC 0x02 /* bit 1 set: header CRC present */ |
Definition at line 30 of file kgzipfilter.cpp.
◆ ORIG_NAME
#define ORIG_NAME 0x08 /* bit 3 set: original file name present */ |
Definition at line 32 of file kgzipfilter.cpp.
◆ put_long
#define put_long | ( | n | ) |
Value:
put_short((n) & 0xffff); \
put_short(((ulong)(n)) >> 16);
Definition at line 235 of file kgzipfilter.cpp.
◆ put_short
#define put_short | ( | w | ) |
Value:
*p++ = (uchar) ((w) & 0xff); \
*p++ = (uchar) ((ushort)(w) >> 8);
Definition at line 230 of file kgzipfilter.cpp.
◆ RESERVED
#define RESERVED 0xE0 /* bits 5..7: reserved */ |
Definition at line 34 of file kgzipfilter.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.