williamr@2: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // dnd_err.h - name resolver error constants williamr@2: // IPv6/IPv4 TCP/IP Errors to RHostResolver actions williamr@2: // williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @file dnd_err.h williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: #ifndef __DND_ERR_H__ williamr@2: #define __DND_ERR_H__ williamr@2: williamr@2: // This file contains the error values that might be passed on to the applications by the DND williamr@2: williamr@2: const TInt KErrDndNameNotFound = -5120; // Returned when no data found for GetByName williamr@2: const TInt KErrDndAddrNotFound = -5121; // Returned when no data found for GetByAddr williamr@2: williamr@2: const TInt KErrDndNoServers = -5122; // No DNS server addresses available (timeout) williamr@2: const TInt KErrDndNoRoute = -5123; // Send timeout for the query (probably no route for server) williamr@2: williamr@2: const TInt KErrDndCache = -5124; // Corrupted data in cache (= bad DNS reply from server) williamr@2: williamr@2: // Errors mapped from the DNS reply. These are normally handled internally williamr@2: // by the resolver code, and rarely, if ever, actually reach the RHostResolver williamr@2: const TInt KErrDndFormat = -5125; // Wrong format williamr@2: const TInt KErrDndServerFailure = -5126; williamr@2: const TInt KErrDndBadName = -5127; // Bad name williamr@2: const TInt KErrDndNotImplemented = -5128; williamr@2: const TInt KErrDndRefused = -5129; // Server refused williamr@2: williamr@2: // Errors while processing response williamr@2: const TInt KErrDndBadQuery = -5130; // Bad queryfrom application (invalid domain name, etc.), not processed williamr@2: const TInt KErrDndNoRecord = -5131; // No record found of the desired type and class. williamr@2: const TInt KErrDndNameTooBig = -5132; // Buffer overflow with name williamr@2: const TInt KErrDndUnknown = -5133; // Misc error - must be something wrong with the williamr@2: // packet or the NS williamr@2: const TInt KErrDndServerUnusable = -5134; // The server is unusable for the attempted query williamr@2: // (for example, not allowing recursion). williamr@2: williamr@2: #endif