From 5d0ee3b301ca012c81adbf57042f7054ee45808c Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 4 Jun 2017 02:30:17 +0200 Subject: Add readme, flesh out backends --- midimonster.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'midimonster.h') 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 -- cgit v1.2.3