aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/routing.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-07-01 22:34:24 +0200
committercbdev <cb@cbcdn.com>2021-07-01 22:34:24 +0200
commit3b134cc43965c1c196734be7a162da7cddeeafc8 (patch)
treefa900d172d5c75d48b1a811bde70bfa40dca56bd /core/routing.h
parent6fab3de48e129e1703f70941f65ae89853e567d5 (diff)
downloadmidimonster-3b134cc43965c1c196734be7a162da7cddeeafc8.tar.gz
midimonster-3b134cc43965c1c196734be7a162da7cddeeafc8.tar.bz2
midimonster-3b134cc43965c1c196734be7a162da7cddeeafc8.zip
Factor out explicit frontend API
Diffstat (limited to 'core/routing.h')
-rw-r--r--core/routing.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/routing.h b/core/routing.h
new file mode 100644
index 0000000..72dd768
--- /dev/null
+++ b/core/routing.h
@@ -0,0 +1,9 @@
+/* Internal API */
+int mm_map_channel(channel* from, channel* to);
+int routing_iteration();
+void routing_stats();
+void routing_cleanup();
+
+/* Public backend API */
+MM_API int mm_channel_event(channel* c, channel_value v);
+