diff -r 000000000000 -r c9bc50fca66e usbmgmt/usbmgr/host/functiondrivers/ms/msmm/server/inc/srvsec.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usbmgmt/usbmgr/host/functiondrivers/ms/msmm/server/inc/srvsec.h Tue Feb 02 02:02:59 2010 +0200 @@ -0,0 +1,55 @@ +/* +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +/** + @file + @internalComponent +*/ + +#ifndef SRVSEC_H +#define SRVSEC_H + +const TInt KMsmmServerRanges[] = + { + EHostMsmmServerAddFunction, + EHostMsmmServerEndMarker + }; +const TUint KMsmmServerRangeCount = + (sizeof(KMsmmServerRanges) / sizeof(KMsmmServerRanges[0])); + +const TUint8 KMsmmServerElementsIndex[KMsmmServerRangeCount] = + { + 0, + CPolicyServer::ENotSupported + }; + +const CPolicyServer::TPolicyElement KMsmmServerElements[] = + { + {_INIT_SECURITY_POLICY_S1( KFDFWSecureId, ECapabilityCommDD ), + CPolicyServer::EFailClient} + }; + +const CPolicyServer::TPolicy KMsmmServerSecurityPolicy = + { + 0, + KMsmmServerRangeCount, + KMsmmServerRanges, + KMsmmServerElementsIndex, + KMsmmServerElements, + }; + +#endif /*SRVSEC_H*/