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 <stdio.h>
9
10void event_reg_callback(void *_ UNUSED)
11{
12    printf("client Event received!\n");
13    e_reg_callback(&event_reg_callback, NULL);
14}
15
16int run() {
17    int j;
18
19    printf("Starting the client\n");
20    printf("-------------------\n");
21
22    e_reg_callback(&event_reg_callback, NULL);
23
24    j = s_echo_int();
25    printf("echo_int: %d\n", j);
26
27    printf("%s\n", (char*)d);
28
29    printf("After the client\n");
30    return 0;
31}
32