aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2017-06-04 02:30:17 +0200
committercbdev <cb@cbcdn.com>2017-06-04 02:30:17 +0200
commit5d0ee3b301ca012c81adbf57042f7054ee45808c (patch)
tree05e2d5bf18541e513bbed191b2e91107fb312793 /midimonster.h
parentb7e009a98698c4ed81b16cbc274a3b47793c1bab (diff)
downloadmidimonster-5d0ee3b301ca012c81adbf57042f7054ee45808c.tar.gz
midimonster-5d0ee3b301ca012c81adbf57042f7054ee45808c.tar.bz2
midimonster-5d0ee3b301ca012c81adbf57042f7054ee45808c.zip
Add readme, flesh out backends
Diffstat (limited to 'midimonster.h')
-rw-r--r--midimonster.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/midimonster.h b/midimonster.h
index 8c323f1..86c2d30 100644
--- a/midimonster.h
+++ b/midimonster.h
@@ -55,9 +55,9 @@ typedef struct /*_mm_managed_fd*/ {
void* impl;
} managed_fd;
-backend* mm_backend_register(backend b);
-int mm_manage_fd(int fd, backend* b, int manage, void* impl);
+int mm_backend_register(backend b);
+instance* mm_instance();
+int mm_manage_fd(int fd, char* backend, int manage, void* impl);
int mm_channel_event(channel* c, channel_value v);
-
-void mm_instance_free(instance* i);
+int mm_backend_instances(char* backend, size_t* n, instance*** i);
#endif