diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-05-02 00:00:34 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-05-02 00:00:34 -0400 |
commit | dc9df45dc6578704a367ab6a72842f65b1190f77 (patch) | |
tree | 2ba683aed5e1ba2fa3e72fc9706ad66615cbc336 /include/osm/device.h | |
parent | aab7fe08faf2aec394174b2ee9782988bfc7fa30 (diff) |
default listen and accept impl
Diffstat (limited to 'include/osm/device.h')
-rw-r--r-- | include/osm/device.h | 14 |
1 files changed, 13 insertions, 1 deletions
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 <osm/utils.h> +/* + * 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 |