summaryrefslogtreecommitdiff
path: root/include/osm/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osm/device.h')
-rw-r--r--include/osm/device.h14
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