X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/3d2988f6a628ac0da7a8b02ec9839f508cbff987..3c35e8a0720481f5c235fe32d7f128642661bc41:/lib/trackdb.h diff --git a/lib/trackdb.h b/lib/trackdb.h index cfe4e2e..f372f4c 100644 --- a/lib/trackdb.h +++ b/lib/trackdb.h @@ -1,6 +1,6 @@ /* * 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 @@ -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); +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 */