aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.c
diff options
context:
space:
mode:
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;