bluetooth/btsdp/inc/ipcinternals.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2005-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 // Constants and types used for the messages between the sdp client
       
    15 // code and sdp server code.
       
    16 // 
       
    17 //
       
    18 
       
    19 
       
    20 #ifndef IPCINTERNALS_H
       
    21 #define IPCINTERNALS_H
       
    22 
       
    23 
       
    24 enum TSdpServerRequest
       
    25 	{
       
    26 	ESdpCreateDatabaseSubSession,
       
    27 	ESdpCreateAgentSubSession,
       
    28 	ESdpCloseSubSession,
       
    29 	ESdpResourceCountMarkStart,
       
    30 	ESdpResourceCountMarkEnd,
       
    31 	ESdpResourceCount,
       
    32 	ESdpCancelRequest,
       
    33 	ESdpServiceSearch,
       
    34 	ESdpAttributeSearch,
       
    35 	ESdpServiceAttributeSearch,
       
    36 	ESdpDatabaseCreateServiceRecord,
       
    37 	ESdpDatabaseUpdateServiceRecordHandle,
       
    38 	ESdpDatabaseUpdateAttribute,
       
    39 	ESdpDatabaseDeleteAttribute,
       
    40 	ESdpDatabaseDeleteServiceRecord,
       
    41 	ESdpServerDbgMarkHeap,
       
    42 	ESdpServerDbgCheckHeap,
       
    43 	ESdpServerDbgMarkEnd,
       
    44 	ESdpServerDbgFailNext,
       
    45 	};
       
    46 
       
    47 
       
    48 
       
    49 #ifdef __SDPSERVER_NO_PROCESSES__
       
    50 	_LIT(KSdpServerImg,"SdpServer");	//<DLL/EXE name
       
    51 	const TInt KSdpServerStackSize=0x2000;			//  8KB
       
    52 	const TInt KSdpServerInitHeapSize=0x1000;		//  4KB
       
    53 	const TInt KSdpServerMaxHeapSize=0x1000000;		// 16MB
       
    54 #else
       
    55 	_LIT(KSdpServerImg,"SdpServer");	//<DLL/EXE name
       
    56 #endif
       
    57 
       
    58 // server name
       
    59 _LIT(KSdpServerName,"!SdpServer");
       
    60 
       
    61 //const TUid KSdpServerUid3={0x100069cc};
       
    62 const TUid KSdpServerUid3={0x10009220};
       
    63 
       
    64 // A version must be specified when creating a session with the server
       
    65 const TUint KSdpServerMajorVersionNumber=0;
       
    66 const TUint KSdpServerMinorVersionNumber=1;
       
    67 const TUint KSdpServerBuildVersionNumber=1;
       
    68 
       
    69 #endif