51
|
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 |
// Server Security Policy definitions.
|
|
15 |
//
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
/**
|
|
20 |
@file
|
|
21 |
@internalComponent
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef REMCONBULKSERVERSECURITYPOLICY_H
|
|
25 |
#define REMCONBULKSERVERSECURITYPOLICY_H
|
|
26 |
|
|
27 |
#include <e32base.h>
|
|
28 |
#include "remconserver.h"
|
|
29 |
|
|
30 |
/** RemCon Bulk Server Security Policy Definition */
|
|
31 |
const TUint KRemConBulkServerRangeCount = 2;
|
|
32 |
|
|
33 |
const TInt KRemConBulkServerRanges[KRemConBulkServerRangeCount] =
|
|
34 |
{
|
|
35 |
ERemConBulkDbgMarkHeap, /** pass */
|
|
36 |
ERemConBulkNumberOfServerFunctions, /** fail (to KMaxTInt) */
|
|
37 |
};
|
|
38 |
|
|
39 |
/** Index numbers into KRemConServerElements[] */
|
|
40 |
const TInt KPolicyPass = 0;
|
|
41 |
|
|
42 |
/** Mapping IPCs to policy element */
|
|
43 |
const TUint8 KRemConBulkServerElementsIndex[KRemConBulkServerRangeCount] =
|
|
44 |
{
|
|
45 |
KPolicyPass, /** All (valid) APIs */
|
|
46 |
CPolicyServer::ENotSupported, /** remainder of possible IPCs */
|
|
47 |
};
|
|
48 |
|
|
49 |
/** Individual policy elements */
|
|
50 |
const CPolicyServer::TPolicyElement KRemConBulkServerElements[] =
|
|
51 |
{
|
|
52 |
{ _INIT_SECURITY_POLICY_PASS },
|
|
53 |
};
|
|
54 |
|
|
55 |
/** Main policy */
|
|
56 |
const CPolicyServer::TPolicy KRemConBulkServerPolicy =
|
|
57 |
{
|
|
58 |
CPolicyServer::EAlwaysPass, /** Specifies all connect attempts should pass */
|
|
59 |
KRemConBulkServerRangeCount,
|
|
60 |
KRemConBulkServerRanges,
|
|
61 |
KRemConBulkServerElementsIndex,
|
|
62 |
KRemConBulkServerElements,
|
|
63 |
};
|
|
64 |
|
|
65 |
#endif // REMCONBULKSERVERSECURITYPOLICY_H
|