summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/include/sys/iotap.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sys/include/sys/iotap.h b/src/sys/include/sys/iotap.h
index 10e4f82..59d8225 100644
--- a/src/sys/include/sys/iotap.h
+++ b/src/sys/include/sys/iotap.h
@@ -55,4 +55,17 @@ struct __packed iotap_msg {
size_t len;
};
+#if !defined(_KERNEL)
+
+/*
+ * Perform an operation on a named I/O tap
+ *
+ * @name: Name of I/O tap
+ * @msg: Message to send
+ *
+ * Returns a less than zero value on error
+ */
+ssize_t iotap_mux(const char *name, struct iotap_msg *msg);
+
+#endif /* !_KERNEL */
#endif /* _SYS_IOTAP_H_ */