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.
14 // File contains local functions for use by the Authority parser class defined in
20 @file TAuthorityParserInternal.h
21 @see Authority8.h, Authority16.h
24 #ifndef __TAUTHORITYPARSERINTERNAL_H__
25 #define __TAUTHORITYPARSERINTERNAL_H__
31 template<class TPtrCType>
32 void DoParseAuthority(const TPtrCType& aAuthority, TPtrCType aComponent[]);
34 template<class TPtrCType>
35 TInt ParseUserInfo(const TPtrCType& aAuthority, TPtrCType& aComponent);
37 template<class TPtrCType>
38 TInt ParseHost(const TPtrCType& aAuthority, TPtrCType& aComponent);
40 template<class TPtrCType>
41 TInt ParsePort(const TPtrCType& aAuthority, TPtrCType& aComponent);
43 #endif // __TAUTHORITYPARSERINTERNAL_H__