aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/libmmbackend.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-12-12 20:29:03 +0100
committercbdev <cb@cbcdn.com>2019-12-12 20:29:03 +0100
commitbef4dd78ca2a610b4c669ea2c7a477283769997d (patch)
treec02ff860ea761a1f99692610197dd44d44156516 /backends/libmmbackend.h
parent763f6d6a434b6e5a9d166cb538857d0cac5fa29e (diff)
downloadmidimonster-bef4dd78ca2a610b4c669ea2c7a477283769997d.tar.gz
midimonster-bef4dd78ca2a610b4c669ea2c7a477283769997d.tar.bz2
midimonster-bef4dd78ca2a610b4c669ea2c7a477283769997d.zip
Extend hostspec parsing and implement local mode for sACN (#39)
Diffstat (limited to 'backends/libmmbackend.h')
-rw-r--r--backends/libmmbackend.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/libmmbackend.h b/backends/libmmbackend.h
index 5749119..76e588f 100644
--- a/backends/libmmbackend.h
+++ b/backends/libmmbackend.h
@@ -22,13 +22,15 @@
/*
* Parse spec as host specification in the form
- * host port
+ * host port [options]
* into its constituent parts.
* Returns offsets into the original string and modifies it.
* Returns NULL in *port if none given.
* Returns NULL in both *port and *host if spec was an empty string.
+ * Returns a pointer after the port in *options if options is non-NULL
+ * and the port was not followed by \0
*/
-void mmbackend_parse_hostspec(char* spec, char** host, char** port);
+void mmbackend_parse_hostspec(char* spec, char** host, char** port, char** options);
/*
* Parse a given host / port combination into a sockaddr_storage