os/ossrv/genericservices/httputils/AuthorityParser/CAuthorityInternal.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200 (2012-06-15)
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 // This file provides an internal API used by the class CAuthority?? for 
    15 // setting the value of authority components in a descriptor.
    16 // 
    17 //
    18 
    19 /**
    20  @file CAuthorityInternal.h
    21  @see Authority8.h, Authority16.h
    22 */
    23 
    24 #ifndef __CAUTHORITYINTERNAL_H__
    25 #define __CAUTHORITYINTERNAL_H__
    26 
    27 // System includes
    28 //
    29 #include <e32base.h>
    30 
    31 template<class TPtrCType>
    32 TInt CalculateAuthorityLength(const TPtrCType aComponent[], TBool& aIsIPv6Host);
    33 
    34 template<class TPtrType, class TPtrCType>
    35 void DoFormAuthority(TPtrType& aAuthority, TPtrCType aComponent[], const TBool& aIsIPv6Host);
    36 
    37 template<class TPtrType, class TPtrCType> 
    38 void SetUserinfo(TPtrType& aAuthority, TPtrCType& aUserinfo);
    39 
    40 template<class TPtrType, class TPtrCType> 
    41 void SetHost(TPtrType& aAuthority, TPtrCType& aHost);
    42 
    43 template<class TPtrType, class TPtrCType> 
    44 void SetPort(TPtrType& aAuthority, TPtrCType& aPort);
    45 
    46 #endif	// __CAUTHORITYINTERNAL_H__