• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • kdecore
  • compression
Macros
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);
put_short
#define put_short(w)
Definition: kgzipfilter.cpp:230

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

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal