testexecmgmt/ucc/Source/include/penstd.h
changeset 0 3da2a79470a7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testexecmgmt/ucc/Source/include/penstd.h	Mon Mar 08 15:04:18 2010 +0800
@@ -0,0 +1,62 @@
+/*
+* 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:  
+*
+*/
+
+
+
+
+#ifndef __PENSTD_H__
+#define __PENSTD_H__
+#include <rpc/types.h>
+#include <rpc/rpc.h>
+
+#define ERR_NONE 0
+#define ERR_INVALID_ERROR_CODE -16
+#define ERR_SERVICE_ALREADY_STARTED -1
+#define ERR_SERVICE_NOT_RUNNING -2
+#define ERR_ACTIVE_USER_SESSIONS -3
+#define ERR_FAILED_TO_REMOVE_ACTIVE_SESSIONS -4
+#define ERR_FAILED_TO_CREATE_COMPONENT_MANAGER -5
+#define ERR_FAILED_TO_RETRIEVE_KEY -6
+#define ERR_INSTANCE_DOES_NOT_EXIST -7
+#define ERR_CANNOT_CREATE_NEW_INSTANCE -9
+#define ERR_MISSING_PARAMETER -17
+#define ERR_INVALID_METHOD -8
+#define ERR_STUB_ALREADY_CONNECTED -10
+#define ERR_FAILED_TO_CONNECT -11
+#define ERR_STUB_NOT_CONNECTED -12
+#define ERR_INVALID_RV_POINTER -13
+#define ERR_RPC_ERROR -14
+#define ERR_INVALID_SERVICE -15
+#define ERR_INVALID_CALL -18
+#define ERR_INVALIDARG -50
+#define ERR_INVALIDSTATE -51
+#define ERR_GENERAL -52
+#define INFO_MAXIMUM_OBJECTS 256
+
+typedef struct {
+	u_int TComponentList_len;
+	int *TComponentList_val;
+} TComponentList;
+#ifdef __cplusplus
+extern "C" {
+bool_t xdr_penstd_TComponentList(...);
+}
+#else
+bool_t xdr_penstd_TComponentList();
+#endif
+
+#endif /* __PENSTD_H__ */