Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / PIPEasp_CNL113334 / demo / PIPEasp_Templates.ttcn
CommitLineData
970ed795 1/******************************************************************************
3abe9331 2 * Copyright (c) 2000-2015 Ericsson Telecom AB
970ed795
EL
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************/
8module PIPEasp_Templates {
9
10import from PIPEasp_Types all;
11
12template ASP_PKill t_PKill(template integer signo) := {
13 signal := signo
14}
15
16template ASP_PError t_PError(template charstring msg) := {
17 errorMessage := msg
18}
19
20template ASP_PLineMode t_PLineMode(template boolean p_lineMode) := {
21 lineMode := p_lineMode
22}
23
24template ASP_PResult t_PResult(
25 template charstring p_stdout,
26 template charstring p_stderr,
27 template integer p_code) := {
28 stdout := p_stdout,
29 stderr := p_stderr,
30 code := p_code
31}
32
33template ASP_PResultBinary t_PResultBinary(
34 template octetstring p_stdout,
35 template octetstring p_stderr,
36 template integer p_code) := {
37 stdout := p_stdout,
38 stderr := p_stderr,
39 code := p_code
40}
41
42template ASP_PStdin t_PStdin(
43 template charstring p_stdin) := {
44 stdin := p_stdin
45}
46
47template ASP_PStdinBinary t_PStdinBinary(
48 template octetstring p_stdinBinary) := {
49 stdin := p_stdinBinary
50}
51
52template ASP_PStdout t_PStdout(
53 template charstring p_stdout) := {
54 stdout := p_stdout
55}
56
57template ASP_PStderr t_PStderr(
58 template charstring p_stderr) := {
59 stderr := p_stderr
60}
61
62template ASP_PStdoutBinary t_PStdoutBinary(
63 template octetstring p_stdout) := {
64 stdout := p_stdout
65}
66
67template ASP_PStderrBinary t_PStderrBinary(
68 template octetstring p_stderr) := {
69 stderr := p_stderr
70}
71
72template ASP_PExecuteBackground t_PExecuteBackground(
73 template charstring p_command) := {
74 command := p_command
75}
76
77template ASP_PExit t_PExit(template integer p_code) := {
78 code := p_code
79}
80
81template ASP_PExecute t_PExecute(
82 template charstring p_command, template charstring p_stdin) := {
83 command := p_command,
84 stdin := p_stdin
85}
86
87template ASP_PExecuteBinary t_PExecuteBinary(
88 template charstring p_command, template octetstring p_stdin) := {
89 command := p_command,
90 stdin := p_stdin
91}
92
93} // end of module
This page took 0.046079 seconds and 5 git commands to generate.