summaryrefslogtreecommitdiff
path: root/apps/osc.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/osc.h')
-rw-r--r--apps/osc.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/osc.h b/apps/osc.h
index 51c0539..d9163e2 100644
--- a/apps/osc.h
+++ b/apps/osc.h
@@ -25,8 +25,12 @@
#include "lo/lo.h"
-lo_server_thread osc_init(const char* port);
-void osc_start(lo_server_thread);
-void osc_stop(lo_server_thread);
+typedef struct {
+ lo_server_thread st_;
+} osc_t;
+
+int osc_init(osc_t* o, const char* port);
+void osc_start(osc_t* o);
+void osc_stop(osc_t* o);
#endif