From dc9df45dc6578704a367ab6a72842f65b1190f77 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 2 May 2024 00:00:34 -0400 Subject: default listen and accept impl --- include/osm/device.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'include/osm/device.h') diff --git a/include/osm/device.h b/include/osm/device.h index 51a4ff2..edf9c12 100644 --- a/include/osm/device.h +++ b/include/osm/device.h @@ -3,8 +3,20 @@ #include +/* + * Define connection types + */ +#define OSM_CT_FILE 0 +#define OSM_CT_TCP 1 + +/** + * Device context: can be used to interact with an underlying device + */ typedef struct { - + char *name; + unsigned int conn_type; + char *address; + Vector inputs, outputs; } OSMDevice; #endif -- cgit v1.2.3