aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-01-13 22:49:33 +0100
committercbdev <cb@cbcdn.com>2020-01-13 22:49:33 +0100
commit8c32598449895e506b4d0eab71be0abf219a62da (patch)
tree67c7ce141f8f8fc64d4c4d279d53c7c5eb16a553 /midimonster.c
parent78b21a9ac3f975f35ec7b61108531e1495eb91c0 (diff)
downloadmidimonster-8c32598449895e506b4d0eab71be0abf219a62da.tar.gz
midimonster-8c32598449895e506b4d0eab71be0abf219a62da.tar.bz2
midimonster-8c32598449895e506b4d0eab71be0abf219a62da.zip
Hide core-internal structures
Diffstat (limited to 'midimonster.c')
-rw-r--r--midimonster.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/midimonster.c b/midimonster.c
index b6f7758..d9a99d9 100644
--- a/midimonster.c
+++ b/midimonster.c
@@ -14,6 +14,7 @@
#include "backend.h"
#include "plugin.h"
+/* Core-internal structures */
typedef struct /*_event_collection*/ {
size_t alloc;
size_t n;
@@ -21,6 +22,12 @@ typedef struct /*_event_collection*/ {
channel_value* value;
} event_collection;
+typedef struct /*_mm_channel_mapping*/ {
+ channel* from;
+ size_t destinations;
+ channel** to;
+} channel_mapping;
+
static size_t mappings = 0;
static channel_mapping* map = NULL;
static size_t fds = 0;