Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / ttcn2json / PIPEasp_Templates.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
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 *
8 * Contributors:
9 * Balasko, Jeno
10 * Baranyi, Botond
11 *
12 ******************************************************************************/
13 module PIPEasp_Templates {
14
15 import from PIPEasp_Types all;
16
17 template ASP_PKill t_PKill(template integer signo) := {
18 signal := signo
19 }
20
21 template ASP_PError t_PError(template charstring msg) := {
22 errorMessage := msg
23 }
24
25 template ASP_PLineMode t_PLineMode(template boolean p_lineMode) := {
26 lineMode := p_lineMode
27 }
28
29 template ASP_PResult t_PResult(
30 template charstring p_stdout,
31 template charstring p_stderr,
32 template integer p_code) := {
33 stdout := p_stdout,
34 stderr := p_stderr,
35 code := p_code
36 }
37
38 template ASP_PResultBinary t_PResultBinary(
39 template octetstring p_stdout,
40 template octetstring p_stderr,
41 template integer p_code) := {
42 stdout := p_stdout,
43 stderr := p_stderr,
44 code := p_code
45 }
46
47 template ASP_PStdin t_PStdin(
48 template charstring p_stdin) := {
49 stdin := p_stdin
50 }
51
52 template ASP_PStdinBinary t_PStdinBinary(
53 template octetstring p_stdinBinary) := {
54 stdin := p_stdinBinary
55 }
56
57 template ASP_PStdout t_PStdout(
58 template charstring p_stdout) := {
59 stdout := p_stdout
60 }
61
62 template ASP_PStderr t_PStderr(
63 template charstring p_stderr) := {
64 stderr := p_stderr
65 }
66
67 template ASP_PStdoutBinary t_PStdoutBinary(
68 template octetstring p_stdout) := {
69 stdout := p_stdout
70 }
71
72 template ASP_PStderrBinary t_PStderrBinary(
73 template octetstring p_stderr) := {
74 stderr := p_stderr
75 }
76
77 template ASP_PExecuteBackground t_PExecuteBackground(
78 template charstring p_command) := {
79 command := p_command
80 }
81
82 template ASP_PExit t_PExit(template integer p_code) := {
83 code := p_code
84 }
85
86 template ASP_PExecute t_PExecute(
87 template charstring p_command, template charstring p_stdin) := {
88 command := p_command,
89 stdin := p_stdin
90 }
91
92 template ASP_PExecuteBinary t_PExecuteBinary(
93 template charstring p_command, template octetstring p_stdin) := {
94 command := p_command,
95 stdin := p_stdin
96 }
97
98 } // end of module
This page took 0.034278 seconds and 6 git commands to generate.