os/ossrv/genericservices/httputils/inetprottextutils/inetprottextutilslocal.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2001-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 //
    15 
    16 #ifndef __INETPROTTEXTUTILSLOCAL_H__
    17 #define __INETPROTTEXTUTILSLOCAL_H__
    18 
    19 #include <e32std.h>
    20 
    21 #include "inetprottextutils.h"
    22 
    23 template<class TPtrCType>
    24 TInt DoRemoveWhiteSpace(TPtrCType& aData, InetProtTextUtils::TRemoveMode aMode);
    25 
    26 template<class TPtrCType>
    27 TInt FindWhiteSpaceLeft(const TPtrCType& aData);
    28 
    29 template<class TPtrCType>
    30 TInt FindWhiteSpaceRight(const TPtrCType& aData);
    31 
    32 template<class TPtrCType>
    33 TInt DoExtractNextTokenFromList(TPtrCType& aBuffer, TPtrCType& aToken, TChar aSeparator);
    34 
    35 template<class TPtrCType>
    36 TInt DoExtractNextTokenFromList(TPtrCType& aBuffer, TPtrCType& aToken, const TPtrCType& aSeparator);
    37 
    38 template<class TPtrCType>
    39 TInt DoExtractQuotedStringL(TPtrCType& aBuffer, TPtrCType& aQuotedString);
    40 
    41 template<class HBufCType>
    42 void DoConvertIntToDescriptorL(TInt aInt, HBufCType*& aBuffer, TRadix aRadix);
    43 
    44 template<class TPtrCType>
    45 TInt DoConvertDescriptorToInt(const TPtrCType& aData, TInt& aInt, TRadix aRadix);
    46 
    47 #endif	// __INETPROTTEXTUTILSLOCAL_H__