testexecmgmt/ucc/Source/include/penstd.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 /*
       
     2 * Copyright (c) 2005-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __PENSTD_H__
       
    22 #define __PENSTD_H__
       
    23 #include <rpc/types.h>
       
    24 #include <rpc/rpc.h>
       
    25 
       
    26 #define ERR_NONE 0
       
    27 #define ERR_INVALID_ERROR_CODE -16
       
    28 #define ERR_SERVICE_ALREADY_STARTED -1
       
    29 #define ERR_SERVICE_NOT_RUNNING -2
       
    30 #define ERR_ACTIVE_USER_SESSIONS -3
       
    31 #define ERR_FAILED_TO_REMOVE_ACTIVE_SESSIONS -4
       
    32 #define ERR_FAILED_TO_CREATE_COMPONENT_MANAGER -5
       
    33 #define ERR_FAILED_TO_RETRIEVE_KEY -6
       
    34 #define ERR_INSTANCE_DOES_NOT_EXIST -7
       
    35 #define ERR_CANNOT_CREATE_NEW_INSTANCE -9
       
    36 #define ERR_MISSING_PARAMETER -17
       
    37 #define ERR_INVALID_METHOD -8
       
    38 #define ERR_STUB_ALREADY_CONNECTED -10
       
    39 #define ERR_FAILED_TO_CONNECT -11
       
    40 #define ERR_STUB_NOT_CONNECTED -12
       
    41 #define ERR_INVALID_RV_POINTER -13
       
    42 #define ERR_RPC_ERROR -14
       
    43 #define ERR_INVALID_SERVICE -15
       
    44 #define ERR_INVALID_CALL -18
       
    45 #define ERR_INVALIDARG -50
       
    46 #define ERR_INVALIDSTATE -51
       
    47 #define ERR_GENERAL -52
       
    48 #define INFO_MAXIMUM_OBJECTS 256
       
    49 
       
    50 typedef struct {
       
    51 	u_int TComponentList_len;
       
    52 	int *TComponentList_val;
       
    53 } TComponentList;
       
    54 #ifdef __cplusplus
       
    55 extern "C" {
       
    56 bool_t xdr_penstd_TComponentList(...);
       
    57 }
       
    58 #else
       
    59 bool_t xdr_penstd_TComponentList();
       
    60 #endif
       
    61 
       
    62 #endif /* __PENSTD_H__ */