1/*
2 * Copyright 2017, Data61, CSIRO (ABN 41 687 119 230)
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 */
6
7#include <camkes.h>
8#include <string.h>
9
10
11char * b_echo_string(const char *s) {
12    return strdup(s);
13}
14
15int b_echo_int(int i) {
16    return i;
17}
18
19float b_echo_float(float f) {
20    return f;
21}
22
23double b_echo_double(double d) {
24    return d;
25}
26
27int b_echo_mix(double d) {
28    return d;
29}
30
31int b_echo_parameter(int pin, int *pout) {
32    *pout = pin;
33    return pin;
34}
35
36void b_increment_parameter(int *x) {
37    *x = *x + 1;
38}
39