X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/7f97fda7b59bd9d3beb9bd4591a4e6dea9efccab..b0116b5c04b64e9352d1c63f0f667a1d9a5d5c11:/lib/eclient-stubs.h 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.