realtimenetprots/sipfw/SigComp/CompDeflate/inc/DeflateCompBytecode.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name        : CDeflateCompBytecode.h
       
    16 * Part of     : deflatecomp / deflatecomp
       
    17 * This file contains definitions for deflate bytecodes
       
    18 * Version     : 1.0
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 /**
       
    26  @internalComponent
       
    27 */
       
    28 
       
    29 #ifndef CDEFLATECOMPBYTECODE_H
       
    30 #define CDEFLATECOMPBYTECODE_H
       
    31 
       
    32 
       
    33 /** bytecode parameters */
       
    34 class TDeflateCompBytecode
       
    35     {
       
    36     public:
       
    37         const TUint8* iBytecode;
       
    38         TUint iBytecodeSize;
       
    39         TUint iBytecodeInit;
       
    40         TUint iBytecodeStart;
       
    41         TUint iStateStart;
       
    42         TUint iStateSize;
       
    43         TUint iCBufStart;
       
    44     };
       
    45 
       
    46 /** bytecodes ids */
       
    47 enum TDeflateCompBytecodeId
       
    48     {
       
    49         EStaticBytecode,
       
    50         EStaticUploadBytecode,
       
    51         EDynamicBytecode,
       
    52         EDynamicUploadBytecode
       
    53     };
       
    54 
       
    55 /** deflate bytecodes */
       
    56 extern const TDeflateCompBytecode KDeflateBytecodes[];
       
    57 
       
    58 #endif