bluetooth/btsdp/inc/ipcinternals.h
changeset 0 29b1cd4cb562
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetooth/btsdp/inc/ipcinternals.h	Fri Jan 15 08:13:17 2010 +0200
@@ -0,0 +1,69 @@
+// 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