epoc32/include/ezliberrorcodes.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations

// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// 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
// which accompanies this distribution, and is available
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// All the error codes returned by the Symbian OS wrapper over the zlib 
// library in EZLib component are defined here.
// 
//



/**
 @file
 @publishedAll 
 @released
*/

#ifndef __EZLIBERRORCODES_H__
#define __EZLIBERRORCODES_H__

////////////////////////////////////////////////////////////
// Error codes returned from the CEZDecompressor and CEZCompressor classes 
////////////////////////////////////////////////////////////
/** The Z_STREAM_ERROR zlib error code has been returned by an internal method 
	due to a stream error. */
const TInt KEZlibErrStream				= -11501;
/** The Z_DATA_ERROR zlib error code has been returned by an internal method 
	due to a data error. */
const TInt KEZlibErrData				= -11502;
/** The Z_BUF_ERROR zlib error code has been returned by an internal method 
	due to a buffer error. */
const TInt KEZlibErrBuf					= -11503;
/** The Z_VERSION_ERROR zlib error code has been returned by an internal method 
	due to a version error. */
const TInt KEZlibErrVersion				= -11504;
/** Unexpected ezlib error. */
const TInt KEZlibErrUnexpected			= -11505;
/** Returned by ::DeflateL() if deflation has already occured.  */
const TInt KEZlibErrDeflateTerminated	= -11506;
/** Returned by ::InflateL() if inflation has already occured. */
const TInt KEZlibErrInflateTerminated	= -11507;
/** An error has occured inflating the dictionary. */
const TInt KEZlibErrInflateDictionary	= -11508;

////////////////////////////////////////////////////////////
// Error codes returned from GZip classes (eg EZGZipFile and CEZGZipToFile)
////////////////////////////////////////////////////////////
const TInt KEZlibErrNotGZipFile			= -11509;
const TInt KEZlibErrInvalidCompression	= -11510;
const TInt KEZlibErrBadGZipHeader		= -11511;
const TInt KEZlibErrBadGZipTrailer		= -11512;
const TInt KEZlibErrBadGZipCrc			= -11513;


#endif	// __EZLIBERRORCODES_H__