author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 2 | 2fe1408b6811 |
permissions | -rw-r--r-- |
williamr@2 | 1 |
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 2 |
// All rights reserved. |
williamr@2 | 3 |
// This component and the accompanying materials are made available |
williamr@4 | 4 |
// under the terms of "Eclipse Public License v1.0" |
williamr@2 | 5 |
// which accompanies this distribution, and is available |
williamr@4 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@2 | 7 |
// |
williamr@2 | 8 |
// Initial Contributors: |
williamr@2 | 9 |
// Nokia Corporation - initial contribution. |
williamr@2 | 10 |
// |
williamr@2 | 11 |
// Contributors: |
williamr@2 | 12 |
// |
williamr@2 | 13 |
// Description: |
williamr@2 | 14 |
// All the error codes returned by the Symbian OS wrapper over the zlib |
williamr@2 | 15 |
// library in EZLib component are defined here. |
williamr@2 | 16 |
// |
williamr@2 | 17 |
// |
williamr@2 | 18 |
|
williamr@2 | 19 |
/** |
williamr@2 | 20 |
@file |
williamr@2 | 21 |
@publishedAll |
williamr@2 | 22 |
@released |
williamr@2 | 23 |
*/ |
williamr@2 | 24 |
|
williamr@2 | 25 |
#ifndef __EZLIBERRORCODES_H__ |
williamr@2 | 26 |
#define __EZLIBERRORCODES_H__ |
williamr@2 | 27 |
|
williamr@4 | 28 |
#include <e32def.h> |
williamr@4 | 29 |
|
williamr@4 | 30 |
// |
williamr@2 | 31 |
// Error codes returned from the CEZDecompressor and CEZCompressor classes |
williamr@4 | 32 |
// |
williamr@2 | 33 |
/** The Z_STREAM_ERROR zlib error code has been returned by an internal method |
williamr@2 | 34 |
due to a stream error. */ |
williamr@2 | 35 |
const TInt KEZlibErrStream = -11501; |
williamr@2 | 36 |
/** The Z_DATA_ERROR zlib error code has been returned by an internal method |
williamr@2 | 37 |
due to a data error. */ |
williamr@2 | 38 |
const TInt KEZlibErrData = -11502; |
williamr@2 | 39 |
/** The Z_BUF_ERROR zlib error code has been returned by an internal method |
williamr@2 | 40 |
due to a buffer error. */ |
williamr@2 | 41 |
const TInt KEZlibErrBuf = -11503; |
williamr@2 | 42 |
/** The Z_VERSION_ERROR zlib error code has been returned by an internal method |
williamr@2 | 43 |
due to a version error. */ |
williamr@2 | 44 |
const TInt KEZlibErrVersion = -11504; |
williamr@2 | 45 |
/** Unexpected ezlib error. */ |
williamr@2 | 46 |
const TInt KEZlibErrUnexpected = -11505; |
williamr@2 | 47 |
/** Returned by ::DeflateL() if deflation has already occured. */ |
williamr@2 | 48 |
const TInt KEZlibErrDeflateTerminated = -11506; |
williamr@2 | 49 |
/** Returned by ::InflateL() if inflation has already occured. */ |
williamr@2 | 50 |
const TInt KEZlibErrInflateTerminated = -11507; |
williamr@2 | 51 |
/** An error has occured inflating the dictionary. */ |
williamr@2 | 52 |
const TInt KEZlibErrInflateDictionary = -11508; |
williamr@2 | 53 |
|
williamr@4 | 54 |
// |
williamr@2 | 55 |
// Error codes returned from GZip classes (eg EZGZipFile and CEZGZipToFile) |
williamr@4 | 56 |
// |
williamr@2 | 57 |
const TInt KEZlibErrNotGZipFile = -11509; |
williamr@2 | 58 |
const TInt KEZlibErrInvalidCompression = -11510; |
williamr@2 | 59 |
const TInt KEZlibErrBadGZipHeader = -11511; |
williamr@2 | 60 |
const TInt KEZlibErrBadGZipTrailer = -11512; |
williamr@2 | 61 |
const TInt KEZlibErrBadGZipCrc = -11513; |
williamr@2 | 62 |
|
williamr@2 | 63 |
|
williamr@2 | 64 |
#endif // __EZLIBERRORCODES_H__ |