diff options
author | cbdev <cb@cbcdn.com> | 2017-06-04 18:13:29 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2017-06-04 18:13:29 +0200 |
commit | 11e9dec049e64989c5f3656415d00c6c69851e8e (patch) | |
tree | f087aa41ead18a8b09657fd400bd8b20df80b13f /artnet.h | |
parent | bae15293ddc859a1ea426f15e7fa476f71ece020 (diff) | |
download | midimonster-11e9dec049e64989c5f3656415d00c6c69851e8e.tar.gz midimonster-11e9dec049e64989c5f3656415d00c6c69851e8e.tar.bz2 midimonster-11e9dec049e64989c5f3656415d00c6c69851e8e.zip |
Move instance allocator to backend object, introduce backend start function
Diffstat (limited to 'artnet.h')
-rw-r--r-- | artnet.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,9 +7,13 @@ static instance* artnet_instance(); static channel* artnet_channel(instance* instance, char* spec); static int artnet_set(size_t num, channel* c, channel_value* v); static int artnet_handle(size_t num, int* fd, void** data); +static int artnet_start(); static int artnet_shutdown(); +#define MODE_OUTPUT 1 + typedef struct /*_artnet_instance_model*/ { uint8_t net; uint8_t uni; + uint8_t mode; } artnet_instance_data; |