X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/6961095b797229842e1465ff3670625d11e95167..3fe2333a1fa62389ad049a1c1ca43fee77a3fef0:/lib/eclient-stubs.h?ds=sidebyside diff --git a/lib/eclient-stubs.h b/lib/eclient-stubs.h index af3b389..32e3237 100644 --- a/lib/eclient-stubs.h +++ b/lib/eclient-stubs.h @@ -25,7 +25,7 @@ /** @file lib/client-stubs.h * @brief Generated asynchronous client API * - * Don't include this file directly - use @ref client.h instead. + * Don't include this file directly - use @ref lib/eclient.h instead. */ /** @brief Adopt a track @@ -570,6 +570,30 @@ int disorder_eclient_resume(disorder_eclient *c, disorder_eclient_no_response *c */ int disorder_eclient_revoke(disorder_eclient *c, disorder_eclient_no_response *completed, void *v); +/** @brief Cancel RTP stream + * + * + * + * @param c Client + * @param completed Called upon completion + * @param v Passed to @p completed + * @return 0 if the command was queued successfuly, non-0 on error + */ +int disorder_eclient_rtp_cancel(disorder_eclient *c, disorder_eclient_no_response *completed, void *v); + +/** @brief Request a unicast RTP stream + * + * + * + * @param c Client + * @param completed Called upon completion + * @param address Destination address + * @param port Destination port number + * @param v Passed to @p completed + * @return 0 if the command was queued successfuly, non-0 on error + */ +int disorder_eclient_rtp_request(disorder_eclient *c, disorder_eclient_no_response *completed, const char *address, const char *port, void *v); + /** @brief Terminate the playing track. * * Requires one of the 'scratch mine', 'scratch random' or 'scratch any' rights depending on how the track came to be added to the queue.