equal
deleted
inserted
replaced
|
1 /** @file |
|
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: Security manager server / common definitions for cliet and server |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef UPNPSECURITYMANAGERCLIENTSERVERCOMMON_H |
|
19 #define UPNPSECURITYMANAGERCLIENTSERVERCOMMON_H |
|
20 |
|
21 // CONSTANTS |
|
22 // the name of the server, used by client |
|
23 _LIT( KUpnpSecurityManagerFilename, "upnpsecuritymanagerserver"); |
|
24 |
|
25 //server's name |
|
26 _LIT( KUpnpSecurityManagerName, "upnpsecuritymanager"); |
|
27 _LIT( KUpnpSecurityManagerThreadName, "upnpsecuritymanager_MainThread"); |
|
28 |
|
29 const TUid KServerUid3 = |
|
30 { |
|
31 0x2001B2BE |
|
32 }; |
|
33 |
|
34 // the server version |
|
35 // A version must be specified when creating a session with the server |
|
36 const TUint KUpnpSecurityManagerMajorVersionNumber = 0; |
|
37 const TUint KUpnpSecurityManagerMinorVersionNumber = 1; |
|
38 const TUint KUpnpSecurityManagerBuildVersionNumber = 1; |
|
39 |
|
40 // ENUMS |
|
41 // opcodes used in message passing between client and server |
|
42 enum TUpnpSecManagerRqst |
|
43 { |
|
44 EAddFile = 1, |
|
45 ERemoveFile, |
|
46 EAddAddress, |
|
47 ERemoveAddress, |
|
48 EResetFileList, |
|
49 EResetAddressList, |
|
50 ECheckAuthorization, |
|
51 EQueryAuthorisation |
|
52 }; |
|
53 |
|
54 #endif // UPNPSECURITYMANAGERCLIENTSERVERCOMMON_H |
|
55 // End of File |