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