equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
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 |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
14 // All the error codes returned by the Symbian OS wrapper over the zlib |
14 // All the error codes returned by the Symbian OS wrapper over the zlib |
15 // library in EZLib component are defined here. |
15 // library in EZLib component are defined here. |
16 // |
16 // |
17 // |
17 // |
18 |
18 |
19 |
|
20 |
|
21 /** |
19 /** |
22 @file |
20 @file |
23 @publishedAll |
21 @publishedAll |
24 @released |
22 @released |
25 */ |
23 */ |
26 |
24 |
27 #ifndef __EZLIBERRORCODES_H__ |
25 #ifndef __EZLIBERRORCODES_H__ |
28 #define __EZLIBERRORCODES_H__ |
26 #define __EZLIBERRORCODES_H__ |
29 |
27 |
30 //////////////////////////////////////////////////////////// |
28 #include <e32def.h> |
|
29 |
|
30 // |
31 // Error codes returned from the CEZDecompressor and CEZCompressor classes |
31 // Error codes returned from the CEZDecompressor and CEZCompressor classes |
32 //////////////////////////////////////////////////////////// |
32 // |
33 /** The Z_STREAM_ERROR zlib error code has been returned by an internal method |
33 /** The Z_STREAM_ERROR zlib error code has been returned by an internal method |
34 due to a stream error. */ |
34 due to a stream error. */ |
35 const TInt KEZlibErrStream = -11501; |
35 const TInt KEZlibErrStream = -11501; |
36 /** The Z_DATA_ERROR zlib error code has been returned by an internal method |
36 /** The Z_DATA_ERROR zlib error code has been returned by an internal method |
37 due to a data error. */ |
37 due to a data error. */ |
49 /** Returned by ::InflateL() if inflation has already occured. */ |
49 /** Returned by ::InflateL() if inflation has already occured. */ |
50 const TInt KEZlibErrInflateTerminated = -11507; |
50 const TInt KEZlibErrInflateTerminated = -11507; |
51 /** An error has occured inflating the dictionary. */ |
51 /** An error has occured inflating the dictionary. */ |
52 const TInt KEZlibErrInflateDictionary = -11508; |
52 const TInt KEZlibErrInflateDictionary = -11508; |
53 |
53 |
54 //////////////////////////////////////////////////////////// |
54 // |
55 // Error codes returned from GZip classes (eg EZGZipFile and CEZGZipToFile) |
55 // Error codes returned from GZip classes (eg EZGZipFile and CEZGZipToFile) |
56 //////////////////////////////////////////////////////////// |
56 // |
57 const TInt KEZlibErrNotGZipFile = -11509; |
57 const TInt KEZlibErrNotGZipFile = -11509; |
58 const TInt KEZlibErrInvalidCompression = -11510; |
58 const TInt KEZlibErrInvalidCompression = -11510; |
59 const TInt KEZlibErrBadGZipHeader = -11511; |
59 const TInt KEZlibErrBadGZipHeader = -11511; |
60 const TInt KEZlibErrBadGZipTrailer = -11512; |
60 const TInt KEZlibErrBadGZipTrailer = -11512; |
61 const TInt KEZlibErrBadGZipCrc = -11513; |
61 const TInt KEZlibErrBadGZipCrc = -11513; |