hti/PC_Tools/HTIGateway/ServicePlugins/HtiStif/HtiStif.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 0 a03f92240627
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
       
     1 /*
       
     2 * Copyright (c) 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 // HTI service functions
       
    17 //gsoap ns1 service name: HtiStif
       
    18 //gsoap ns1 service namespace: urn:hti
       
    19 //gsoap ns1 service style: rpc
       
    20 //gsoap ns1 service encoding: literal
       
    21 //gsoap ns1 service location: http://localhost:2000
       
    22 
       
    23 typedef char*			xsd__string;
       
    24 typedef wchar_t *		xsd__string_;
       
    25 typedef int				xsd__int;
       
    26 
       
    27 struct ns1__HtiStifResult
       
    28 {
       
    29     xsd__int		caseId;
       
    30     xsd__int		caseResult;
       
    31     xsd__int		executionResult;
       
    32 	xsd__string		resultDescription;
       
    33 };
       
    34 
       
    35 struct ArrayOfTestCases
       
    36 {
       
    37     xsd__string	*__ptr;
       
    38     xsd__int	__size;
       
    39 };
       
    40 
       
    41 //gsoap ns1 service method-action: openStif "HtiStif"
       
    42 int ns1__openStif(
       
    43     xsd__string		iniFile,
       
    44     struct ns1__openStifResponse{} *out  // empty response
       
    45 );
       
    46 
       
    47 //gsoap ns1 service method-action: closeStif "HtiStif"
       
    48 int ns1__closeStif(
       
    49     void *_, // no in parameter
       
    50 	struct ns1__closeStifResponse{} *out  // empty response
       
    51 );
       
    52 
       
    53 //gsoap ns1 service method-action: loadStifTestModule "HtiStif"
       
    54 int ns1__loadStifTestModule(
       
    55     xsd__string		moduleName,
       
    56 	xsd__string		iniFile,
       
    57 	xsd__string		&moduleNameLoaded
       
    58 );
       
    59 
       
    60 //gsoap ns1 service method-action: unloadStifTestModule "HtiStif"
       
    61 int ns1__unloadStifTestModule(
       
    62     xsd__string		moduleName,
       
    63 	xsd__string		&moduleNameUnloaded
       
    64 );
       
    65 
       
    66 //gsoap ns1 service method-action: listStifTestCases "HtiStif"
       
    67 int ns1__listStifTestCases(
       
    68     xsd__string		moduleName,
       
    69     struct ArrayOfTestCases *testCases
       
    70 );
       
    71 
       
    72 //gsoap ns1 service method-action: startStifTestCase "HtiStif"
       
    73 int ns1__startStifTestCase(
       
    74     xsd__string		moduleName,
       
    75 	xsd__int		testCaseIndex,
       
    76 	xsd__int		&testCaseId
       
    77 );
       
    78 
       
    79 //gsoap ns1 service method-action: cancelStifTestCase "HtiStif"
       
    80 int ns1__cancelStifTestCase(
       
    81     xsd__int		testCaseId,
       
    82 	struct ns1__cancelStifTestCaseResponse{} *out  // empty response
       
    83 );
       
    84 
       
    85 //gsoap ns1 service method-action: pauseStifTestCase "HtiStif"
       
    86 int ns1__pauseStifTestCase(
       
    87     xsd__int		testCaseId,
       
    88 	struct ns1__pauseStifTestCaseResponse{} *out  // empty response
       
    89 );
       
    90 
       
    91 //gsoap ns1 service method-action: resumeStifTestCase "HtiStif"
       
    92 int ns1__resumeStifTestCase(
       
    93     xsd__int		testCaseId,
       
    94 	struct ns1__resumeStifTestCaseResponse{} *out  // empty response
       
    95 );
       
    96 
       
    97 struct queryStifTestCaseResultResponse{struct ns1__HtiStifResult _returnHtiStifResult;};
       
    98 //gsoap ns1 service method-action: queryStifTestCaseResult "HtiStif"
       
    99 int ns1__queryStifTestCaseResult(
       
   100     xsd__int		testCaseId,
       
   101 	struct queryStifTestCaseResultResponse& r
       
   102 );
       
   103 
       
   104 struct runStifTestCaseResponse{struct ns1__HtiStifResult _returnHtiStifResult;};
       
   105 //gsoap ns1 service method-action: runStifTestCase "HtiStif"
       
   106 int ns1__runStifTestCase(
       
   107     xsd__string		moduleName,
       
   108 	xsd__int		testCaseIndex,
       
   109 	struct runStifTestCaseResponse& r
       
   110 );
       
   111 
       
   112 //gsoap ns1 service method-action: addStifTestCaseFile "HtiStif"
       
   113 int ns1__addStifTestCaseFile(
       
   114     xsd__string		moduleName,
       
   115 	xsd__string		testCaseFile,
       
   116     struct ns1__addStifTestCaseFileResponse{} *out  // empty response
       
   117 );
       
   118 
       
   119 //gsoap ns1 service method-action: removeStifTestCaseFile "HtiStif"
       
   120 int ns1__removeStifTestCaseFile(
       
   121     xsd__string		moduleName,
       
   122 	xsd__string		testCaseFile,
       
   123     struct ns1__removeStifTestCaseFileResponse{} *out  // empty response
       
   124 );
       
   125 
       
   126 //gsoap ns1 service method-action: setDeviceId "HtiStif"
       
   127 int ns1__setDeviceId(
       
   128     xsd__int		deviceId,
       
   129 	struct ns1__setDeviceIdResponse{} *out  // empty response
       
   130 );
       
   131 
       
   132 //gsoap ns1 service method-action: register "HtiStif"
       
   133 int ns1__register(
       
   134     xsd__string		host,
       
   135     struct ns1__registerResponse{} *out  // empty response
       
   136 );
       
   137 
       
   138 //gsoap ns1 service method-action: deregister "HtiStif"
       
   139 int ns1__deregister(
       
   140     xsd__string		host,
       
   141     struct ns1__deregisterResponse{} *out  // empty response
       
   142 );
       
   143 
       
   144 //gsoap ns1 service method-action: stifMessage "HtiStif"
       
   145 int ns1__stifMessage(
       
   146 	xsd__string		message,
       
   147     struct ns1__stifMessageResponse{} *out  // empty response
       
   148 );
       
   149 
       
   150 //gsoap ns1 service method-action: SetAttribute "HtiStif"
       
   151 int ns1__setAttribute(
       
   152 	xsd__string		attribute,
       
   153 	xsd__string		value,
       
   154     struct ns1__SetAttributeResponse{} *out  // empty response
       
   155 );