X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/7bef40aefd85afe68aef3ebd466e5e50ae3251a1..ff75e16ea3fc8406f49fc8aa1f00407bb0391368:/lib/client-stubs.h diff --git a/lib/client-stubs.h b/lib/client-stubs.h index 0d3d727..fd85670 100644 --- a/lib/client-stubs.h +++ b/lib/client-stubs.h @@ -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 @@ -227,6 +232,18 @@ int disorder_move(disorder_client *c, const char *track, long delta); */ int disorder_moveafter(disorder_client *c, const char *target, char **ids, int nids); +/** @brief List recently added tracks + * + * + * + * @param c Client + * @param max Maximum tracks to fetch, or 0 for all available + * @param tracksp Recently added tracks + * @param ntracksp Number of elements in tracksp + * @return 0 on success, non-0 on error + */ +int disorder_new_tracks(disorder_client *c, long max, char ***tracksp, int *ntracksp); + /** @brief Do nothing * * Used as a keepalive. No authentication required.