void *private_data;
};
-int mysql_dbtool_init(struct audio_file_selector*);
-int plm_dbtool_init(struct audio_file_selector*);
-int random_dbtool_init(struct audio_file_selector*);
+int mysql_selector_init(struct audio_file_selector*);
+int plm_selector_init(struct audio_file_selector*);
+int random_selector_init(struct audio_file_selector*);
*
* \sa struct audio_file_selector, misc_meta_data::dbinfo, random_dbtool.c
*/
-int mysql_dbtool_init(struct audio_file_selector *db)
+int mysql_selector_init(struct audio_file_selector *db)
{
int ret;
*
* \sa struct audio_file_selector, misc_meta_data::dbinfo, mysql.c random_dbtool.c
*/
-int plm_dbtool_init(struct audio_file_selector *db)
+int plm_selector_init(struct audio_file_selector *db)
{
int ret;
struct private_plm_data *ppd = NULL;
*
* \sa struct audio_file_selector, misc_meta_data::dbinfo, mysql.c
*/
-int random_dbtool_init(struct audio_file_selector *db)
+int random_selector_init(struct audio_file_selector *db)
{
struct timeval now;
struct audio_file_selector dblist[] = {
{
.name = "random",
- .init = random_dbtool_init,
+ .init = random_selector_init,
.update_audio_file = NULL,
},
{
.name = "plm",
- .init = plm_dbtool_init,
+ .init = plm_selector_init,
.update_audio_file = NULL,
.pre_select = NULL,
.post_select = NULL,
#ifdef HAVE_MYSQL
{
.name = "mysql",
- .init = mysql_dbtool_init,
+ .init = mysql_selector_init,
.update_audio_file = NULL,
.pre_select = NULL,
.post_select = NULL,