chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more templates plus support code changes
[disorder]
/
lib
/
trackdb.h
diff --git
a/lib/trackdb.h
b/lib/trackdb.h
index cfe4e2ed2dcd86b68b71c8cb8971c90aede6f169..f372f4cf0586e9fbe57e6fa3138a157d10d5eacc 100644
(file)
--- a/
lib/trackdb.h
+++ b/
lib/trackdb.h
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder
/*
* This file is part of DisOrder
- * Copyright (C) 2005
, 2006, 2007
Richard Kettlewell
+ * Copyright (C) 2005
-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
*
* 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
@@
-171,6
+171,12
@@
int trackdb_edituserinfo(const char *user,
char **trackdb_listusers(void);
int trackdb_confirm(const char *user, const char *confirmation,
rights_type *rightsp);
char **trackdb_listusers(void);
int trackdb_confirm(const char *user, const char *confirmation,
rights_type *rightsp);
+int trackdb_readable(void);
+
+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 */