Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
host.h
1#pragma once
2#warning usage of <sys/host.h> has been deprecated.
3#warning make use of <sys/comm.h> and/or <sys/sim.h> instead
4#include "comm.h"
5#include "sim.h"
6
7inline TTY tty {"/dev/tty"};
8inline UDP udp {"127.0.0.1", 45670};
9inline struct Host {
10 struct {
13 } socket, tty;
14} host {
15 .socket = {
16 .in = udp,
17 .out = udp,
18 },
19 .tty = {
20 .in = tty,
21 .out = tty,
22 },
23};
24
generic object sink, i.e.
Definition streams.h:15
generic object source, i.e.
Definition streams.h:40
TTY communication backend.
Definition comm.h:14
UDP Server communication backend.
Definition comm.h:78