X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/7bef40aefd85afe68aef3ebd466e5e50ae3251a1..ff75e16ea3fc8406f49fc8aa1f00407bb0391368:/lib/client-stubs.c?ds=sidebyside diff --git a/lib/client-stubs.c b/lib/client-stubs.c index 1661a0c..f995043 100644 --- a/lib/client-stubs.c +++ b/lib/client-stubs.c @@ -1,6 +1,11 @@ +/* + * Automatically generated file, see scripts/protocol + * + * DO NOT EDIT. + */ /* * This file is part of DisOrder. - * Copyright (C) 2010 Richard Kettlewell + * Copyright (C) 2010-11 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -119,6 +124,12 @@ int disorder_moveafter(disorder_client *c, const char *target, char **ids, int n return disorder_simple(c, 0, "moveafter", target, disorder_list, ids, nids, (char *)0); } +int disorder_new_tracks(disorder_client *c, long max, char ***tracksp, int *ntracksp) { + char buf_max[16]; + byte_snprintf(buf_max, sizeof buf_max, "%ld", max); + return disorder_simple_list(c, tracksp, ntracksp, "new", buf_max, (char *)0); +} + int disorder_nop(disorder_client *c) { return disorder_simple(c, 0, "nop", (char *)0); }