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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __INETPROTTEXTUTILSLOCAL_H__
17 #define __INETPROTTEXTUTILSLOCAL_H__
21 #include "inetprottextutils.h"
23 template<class TPtrCType>
24 TInt DoRemoveWhiteSpace(TPtrCType& aData, InetProtTextUtils::TRemoveMode aMode);
26 template<class TPtrCType>
27 TInt FindWhiteSpaceLeft(const TPtrCType& aData);
29 template<class TPtrCType>
30 TInt FindWhiteSpaceRight(const TPtrCType& aData);
32 template<class TPtrCType>
33 TInt DoExtractNextTokenFromList(TPtrCType& aBuffer, TPtrCType& aToken, TChar aSeparator);
35 template<class TPtrCType>
36 TInt DoExtractNextTokenFromList(TPtrCType& aBuffer, TPtrCType& aToken, const TPtrCType& aSeparator);
38 template<class TPtrCType>
39 TInt DoExtractQuotedStringL(TPtrCType& aBuffer, TPtrCType& aQuotedString);
41 template<class HBufCType>
42 void DoConvertIntToDescriptorL(TInt aInt, HBufCType*& aBuffer, TRadix aRadix);
44 template<class TPtrCType>
45 TInt DoConvertDescriptorToInt(const TPtrCType& aData, TInt& aInt, TRadix aRadix);
47 #endif // __INETPROTTEXTUTILSLOCAL_H__