~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use disorder-choose to pick random tracks.
[disorder]
/
lib
/
trackdb.h
diff --git
a/lib/trackdb.h
b/lib/trackdb.h
index
804ff5a
..
e39de6e
100644
(file)
--- a/
lib/trackdb.h
+++ b/
lib/trackdb.h
@@
-172,6
+172,11
@@
char **trackdb_listusers(void);
int trackdb_confirm(const char *user, const char *confirmation,
rights_type *rightsp);
int trackdb_confirm(const char *user, const char *confirmation,
rights_type *rightsp);
+typedef void random_callback(struct ev_source *ev,
+ const char *track);
+int trackdb_request_random(struct ev_source *ev,
+ random_callback *callback);
+
#endif /* TRACKDB_H */
/*
#endif /* TRACKDB_H */
/*