summaryrefslogtreecommitdiff
path: root/apps/osc.h
diff options
context:
space:
mode:
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);