X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/bcb2af729883325b5c3c041411b026d125c78869..b59c46fd2f2c5d094ad9d7b72fec772b99356419:/lib/client-stubs.c diff --git a/lib/client-stubs.c b/lib/client-stubs.c index 6aaa559..1d2d0aa 100644 --- a/lib/client-stubs.c +++ b/lib/client-stubs.c @@ -20,6 +20,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +/** @file lib/client-stubs.c + * @brief Generated client API implementation + */ int disorder_adopt(disorder_client *c, const char *id) { return disorder_simple(c, NULL, "adopt", id, (char *)NULL); @@ -349,6 +352,14 @@ int disorder_rtp_address(disorder_client *c, char **addressp, char **portp) { return 0; } +int disorder_rtp_cancel(disorder_client *c) { + return disorder_simple(c, NULL, "rtp-cancel", (char *)NULL); +} + +int disorder_rtp_request(disorder_client *c, const char *address, const char *port) { + return disorder_simple(c, NULL, "rtp-request", address, port, (char *)NULL); +} + int disorder_scratch(disorder_client *c, const char *id) { return disorder_simple(c, NULL, "scratch", id, (char *)NULL); }