policymanagement/dmutilserver/inc/DMUtilClientServer.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Implementation of policymanagement components
       
    15 *
       
    16 */
       
    17 // DMUtilClientServer.h
       
    18 
       
    19 #ifndef __DMUTIL_CLIENTSERVER_H__
       
    20 #define __DMUTIL_CLIENTSERVER_H__
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 
       
    25 
       
    26 _LIT(KDMUtilServerName,"dmutilserver");
       
    27 _LIT(KDMUtilServerImg,"DMUtilServer");         // DLL/EXE name
       
    28 
       
    29 const TUid KDMUtilServerUid={0x10207843};
       
    30 
       
    31 
       
    32 enum TDMUtilServerMessages
       
    33 	{
       
    34     	EGetDMSessionCertInfo,
       
    35     	EGetDMSessionServerId,
       
    36     	EPerformDMUtilRFS,
       
    37     	ERemoveACL, 
       
    38     	ESetACL,
       
    39     	EAddACL,
       
    40     	EMngSessionCertificate,
       
    41     	ENewDMSession,
       
    42     	EFlush,
       
    43     	EUpdatePolicyMngStatusFlags,
       
    44     	EMarkMMCWipe    	
       
    45 	};
       
    46 
       
    47 //values can be used as a mask values....
       
    48 enum TAclCommands
       
    49 {
       
    50 	EACLAdd = 1,		//000001b
       
    51 	EACLDelete = 2,		//000010b
       
    52 	EACLExec = 4,		//000100b
       
    53 	EACLGet = 8,		//001000b
       
    54 	EACLReplace = 16,	//010000b
       
    55 	EACLAll = 32		//100000b
       
    56 };
       
    57 
       
    58 //defines destination of ACL operation
       
    59 enum TACLDestination
       
    60 {
       
    61 	EForNode,
       
    62 	EForChildrens,
       
    63 	EForBoth
       
    64 };
       
    65 
       
    66 //values to be used is policy management state updates
       
    67 enum KPolicyMngStatusFlags
       
    68 {
       
    69 	EPolicyChanged = 0,
       
    70 	ETerminalSecurityActive,
       
    71 	ETerminalSecurityDeactive
       
    72 };
       
    73 
       
    74 
       
    75 #endif// __DMUTIL_CLIENTSERVER_H__