0
|
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 |
#include "penstd.x"
|
|
20 |
|
|
21 |
/*******************************************************************************
|
|
22 |
*
|
|
23 |
* Constants
|
|
24 |
*
|
|
25 |
******************************************************************************/
|
|
26 |
const MAXPARAMNAMELENGTH = 1024;
|
|
27 |
const MAXPARAMVALUELENGTH = 1024;
|
|
28 |
|
|
29 |
/*******************************************************************************
|
|
30 |
*
|
|
31 |
* Types
|
|
32 |
*
|
|
33 |
******************************************************************************/
|
|
34 |
|
|
35 |
struct TStartupInfo {
|
|
36 |
int iEmpty;
|
|
37 |
};
|
|
38 |
|
|
39 |
struct TParam {
|
|
40 |
char iName[MAXPARAMNAMELENGTH];
|
|
41 |
char iValue[MAXPARAMVALUELENGTH];
|
|
42 |
};
|
|
43 |
|
|
44 |
struct TCall {
|
|
45 |
int iCallID;
|
|
46 |
TParam iParams<>;
|
|
47 |
};
|
|
48 |
|
|
49 |
/*******************************************************************************
|
|
50 |
*
|
|
51 |
* Interface
|
|
52 |
*
|
|
53 |
******************************************************************************/
|
|
54 |
program GENERICSTUB {
|
|
55 |
version GENERICSTUB_VERSION
|
|
56 |
{
|
|
57 |
/* Initialise the service */
|
|
58 |
int SS_STARTUPRPCSERVICE( TStartupInfo ) = 1;
|
|
59 |
int SC_SHUTDOWNRPCSERVICE( int ) = 2;
|
|
60 |
TComponentList LIST_CONNECTIONS( void ) = 30;
|
|
61 |
|
|
62 |
/* Create instances */
|
|
63 |
int CSTR_STARTPROCESS( string ) = 31;
|
|
64 |
int DSTR_REMOVEPROCESS( int ) = 32;
|
|
65 |
|
|
66 |
/* RunCommand Call */
|
|
67 |
int RUN_COMMAND( TCall ) = 10;
|
|
68 |
|
|
69 |
} = 1;
|
|
70 |
} = 0x34630999;
|