summaryrefslogtreecommitdiff
path: root/apps/osc.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-12 05:27:58 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-10-12 05:27:58 +0200
commitf1a0c283e4fe5227fa9a0e95c2e8324475e12d01 (patch)
tree1a38cef3b302c1af1f40ff58b8c56bc618670586 /apps/osc.h
parentdone data hangling for midi works now (diff)
osc messages to trigger language switch are implemented
Diffstat (limited to 'apps/osc.h')
-rw-r--r--apps/osc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/osc.h b/apps/osc.h
index b4a496e..ae851b3 100644
--- a/apps/osc.h
+++ b/apps/osc.h
@@ -26,12 +26,21 @@
#include "lo/lo.h"
#include <poll.h>
+#include "slist.h"
#include "mixer.h"
typedef struct {
lo_server server_;
+ slist_t done_data_;
} osc_t;
+typedef struct {
+ osc_t* self_;
+ int state_;
+ char* lang_;
+ lo_message msg_;
+} osc_done_data_t;
+
int osc_init(osc_t* o, const char* port);
int osc_get_poll_fd_count(osc_t* o);
int osc_get_poll_fds(osc_t* o, struct pollfd *pfds, int npfds);