summaryrefslogtreecommitdiffstats
path: root/include/avirt
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-01 16:58:08 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-30 13:43:40 +1100
commitcb2d64d351b22cf32254a0781634a107b01488f4 (patch)
treeb5e981af3c573e14db3d34abef9cd282cf26f526 /include/avirt
parent3424997c580659e5ef7df4c4c70d172c6f9bdcd2 (diff)
Rename top-level header, fix CMakeLists target
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'include/avirt')
-rw-r--r--include/avirt/avirt.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/avirt/avirt.h b/include/avirt/avirt.h
new file mode 100644
index 0000000..5bb8731
--- /dev/null
+++ b/include/avirt/avirt.h
@@ -0,0 +1,29 @@
+/*
+ * AVIRT User-space library
+ *
+ * avirt.h - AVIRT User-space library header
+ *
+ * Copyright (C) 2018 Fiberdyne Systems Pty Ltd
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _AVIRT_H_
+#define _AVIRT_H_
+
+int AVIRT_CreateStream(const char *name, unsigned int channels, int direction);
+
+int AVIRT_SealCard();
+
+#endif // _AVIRT_H_