chiark / gitweb /
split out dcgi_get_cookie
[disorder] / server / play.h
index 396ff56915e3829a36b43ad458dc37f332df9293..aff474ce71d8c0d2bad64e04b5cd6135c5671efa 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2004, 2005, 2006 Richard Kettlewell
+ * Copyright (C) 2004-2008 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
@@ -75,9 +75,8 @@ void abandon(ev_source *ev,
             struct queue_entry *q);
 /* Abandon a possibly-prepared track. */
 
-int add_random_track(void);
-/* If random play is enabled then try to add a track to the queue.  On success
- * (including deliberartely doing nothing) return 0.  On error return -1. */
+void add_random_track(ev_source *ev);
+/* If random play is enabled then try to add a track to the queue. */
 
 #endif /* PLAY_H */
 
@@ -88,4 +87,3 @@ comment-column:40
 fill-column:79
 End:
 */
-/* arch-tag:2bcb00c5b004ce3e91785adb8893e8de */