Sync with 5.3.0
[deliverable/titan.core.git] / regression_test / profiler / PIPEasp_Templates.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2014 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 module PIPEasp_Templates {
9
10 import from PIPEasp_Types all;
11
12 template ASP_PKill t_PKill(template integer signo) := {
13 signal := signo
14 }
15
16 template ASP_PError t_PError(template charstring msg) := {
17 errorMessage := msg
18 }
19
20 template ASP_PLineMode t_PLineMode(template boolean p_lineMode) := {
21 lineMode := p_lineMode
22 }
23
24 template 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
33 template 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
42 template ASP_PStdin t_PStdin(
43 template charstring p_stdin) := {
44 stdin := p_stdin
45 }
46
47 template ASP_PStdinBinary t_PStdinBinary(
48 template octetstring p_stdinBinary) := {
49 stdin := p_stdinBinary
50 }
51
52 template ASP_PStdout t_PStdout(
53 template charstring p_stdout) := {
54 stdout := p_stdout
55 }
56
57 template ASP_PStderr t_PStderr(
58 template charstring p_stderr) := {
59 stderr := p_stderr
60 }
61
62 template ASP_PStdoutBinary t_PStdoutBinary(
63 template octetstring p_stdout) := {
64 stdout := p_stdout
65 }
66
67 template ASP_PStderrBinary t_PStderrBinary(
68 template octetstring p_stderr) := {
69 stderr := p_stderr
70 }
71
72 template ASP_PExecuteBackground t_PExecuteBackground(
73 template charstring p_command) := {
74 command := p_command
75 }
76
77 template ASP_PExit t_PExit(template integer p_code) := {
78 code := p_code
79 }
80
81 template ASP_PExecute t_PExecute(
82 template charstring p_command, template charstring p_stdin) := {
83 command := p_command,
84 stdin := p_stdin
85 }
86
87 template 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.034929 seconds and 5 git commands to generate.