networkprotocols/dnsproxy/dnsproxyclient/inc/dnsproxyclient.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2008-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 // dnsserverconfig.h
       
    15 // Header file for the DNS Proxy client side implementation.
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @internalComponent
       
    23 */
       
    24 #ifndef __DNSPROXYCLIENT_H__
       
    25 #define __DNSPROXYCLIENT_H__
       
    26 
       
    27 #include "e32std.h"
       
    28 
       
    29 class RDNSClient : public RSessionBase
       
    30 /** This class represents the client side implementation of DNS Proxy Server
       
    31 */
       
    32     {
       
    33 public:
       
    34     IMPORT_C TInt Connect();
       
    35     IMPORT_C void ConfigureDnsProxyServer(const TDes8& aInfo, TRequestStatus& aStatus);
       
    36     IMPORT_C void AddDbEntry(const TDes8& aHostName, const TDes& aIpAddress, TRequestStatus& aStatus);
       
    37     IMPORT_C void RemoveDbEntry(const TDes& aIpAddress, TRequestStatus& aStatus);    
       
    38     IMPORT_C void UpdateDomainName(const TDes8& aName, TRequestStatus& aStatus);
       
    39     IMPORT_C void ConfigureUplinkInfo(const TDes8& aName, TRequestStatus& aStatus);
       
    40     };
       
    41 
       
    42 #endif //__DNSPROXYCLIENT_H__