-/* close a disorder_client */
-
-int disorder_become(disorder_client *c, const char *user);
-/* become another user (trusted users only) */
-
-int disorder_version(disorder_client *c, char **versionp);
-/* get the server version */
-
-int disorder_play(disorder_client *c, const char *track);
-/* add a track to the queue */
-
-int disorder_remove(disorder_client *c, const char *track);
-/* remove a track from the queue */
-
-int disorder_move(disorder_client *c, const char *track, int delta);
-/* move a track in the queue @delta@ steps towards the head */
-
-int disorder_enable(disorder_client *c);
-/* enable playing if it is not already enabled */
-
-int disorder_disable(disorder_client *c);
-/* disable playing if it is not already disabled. */
-
-int disorder_scratch(disorder_client *c, const char *id);
-/* scratch the currently playing track. If @id@ is not a null pointer
- * then the scratch will be ignored if the ID does not mactch. */
-
-int disorder_shutdown(disorder_client *c);
-/* shut down the server immediately */
-
-int disorder_reconfigure(disorder_client *c);
-/* re-read the configuration file */
-
-int disorder_rescan(disorder_client *c);
-/* initiate a rescan */
-
-int disorder_playing(disorder_client *c, struct queue_entry **qp);
-/* get the details of the currently playing track (null pointer if
- * nothing playing). The first entry in the list is the next track to
- * be played. */
-
-int disorder_recent(disorder_client *c, struct queue_entry **qp);
-/* get a list of recently played tracks. The LAST entry in the list
- * is last track to have been played. */
-
-int disorder_queue(disorder_client *c, struct queue_entry **qp);
-/* get the queue */
-
-int disorder_directories(disorder_client *c, const char *dir, const char *re,
- char ***vecp, int *nvecp);
-/* get subdirectories of @dir@, or of the root if @dir@ is an null
- * pointer */
-
-int disorder_files(disorder_client *c, const char *dir, const char *re,
- char ***vecp, int *nvecp);
-/* get list of files in @dir@ */
-
-int disorder_allfiles(disorder_client *c, const char *dir, const char *re,
- char ***vecp, int *nvecp);
-/* get list of files and directories in @dir@ */
-