bluetooth/btsdp/inc/ipcinternals.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:38:54 +0100
branchRCL_3
changeset 24 e9b924a62a66
parent 0 29b1cd4cb562
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201031 Kit: 201035

// Copyright (c) 2005-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:
// Constants and types used for the messages between the sdp client
// code and sdp server code.
// 
//


#ifndef IPCINTERNALS_H
#define IPCINTERNALS_H


enum TSdpServerRequest
	{
	ESdpCreateDatabaseSubSession,
	ESdpCreateAgentSubSession,
	ESdpCloseSubSession,
	ESdpResourceCountMarkStart,
	ESdpResourceCountMarkEnd,
	ESdpResourceCount,
	ESdpCancelRequest,
	ESdpServiceSearch,
	ESdpAttributeSearch,
	ESdpServiceAttributeSearch,
	ESdpDatabaseCreateServiceRecord,
	ESdpDatabaseUpdateServiceRecordHandle,
	ESdpDatabaseUpdateAttribute,
	ESdpDatabaseDeleteAttribute,
	ESdpDatabaseDeleteServiceRecord,
	ESdpServerDbgMarkHeap,
	ESdpServerDbgCheckHeap,
	ESdpServerDbgMarkEnd,
	ESdpServerDbgFailNext,
	};



#ifdef __SDPSERVER_NO_PROCESSES__
	_LIT(KSdpServerImg,"SdpServer");	//<DLL/EXE name
	const TInt KSdpServerStackSize=0x2000;			//  8KB
	const TInt KSdpServerInitHeapSize=0x1000;		//  4KB
	const TInt KSdpServerMaxHeapSize=0x1000000;		// 16MB
#else
	_LIT(KSdpServerImg,"SdpServer");	//<DLL/EXE name
#endif

// server name
_LIT(KSdpServerName,"!SdpServer");

//const TUid KSdpServerUid3={0x100069cc};
const TUid KSdpServerUid3={0x10009220};

// A version must be specified when creating a session with the server
const TUint KSdpServerMajorVersionNumber=0;
const TUint KSdpServerMinorVersionNumber=1;
const TUint KSdpServerBuildVersionNumber=1;

#endif