chiark / gitweb /
protogen: disorder_new_tracks().
[disorder] / lib / client-stubs.h
index 0d3d72750310a0b85a164a4d8f3847e943aa3d7b..fd8567049ae688a6b2066bd87a61cbc8a1ecfa75 100644 (file)
@@ -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.