~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge more 3.0 branch changes
[disorder]
/
lib
/
trackdb.h
diff --git
a/lib/trackdb.h
b/lib/trackdb.h
index
b0f601e
..
e39de6e
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
@@
-136,7
+136,7
@@
char **trackdb_search(char **wordlist, int nwordlist, int *ntracks);
/* return a list of tracks containing all of the words given. If you
* ask for only stopwords you get no tracks. */
/* return a list of tracks containing all of the words given. If you
* ask for only stopwords you get no tracks. */
-void trackdb_rescan(struct ev_source *ev, int check);
+void trackdb_rescan(struct ev_source *ev, int
re
check);
/* Start a rescan, if one is not running already */
int trackdb_rescan_cancel(void);
/* Start a rescan, if one is not running already */
int trackdb_rescan_cancel(void);
@@
-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 */
/*