+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);
+void trackdb_add_rescanned(void (*rescanned)(void *ru),
+ void *ru);
+int trackdb_rescan_underway(void);