|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.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 @file |
|
21 @publishedAll |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef __EZLIBERRORCODES_H__ |
|
26 #define __EZLIBERRORCODES_H__ |
|
27 |
|
28 #include <e32def.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__ |