X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.h;h=76464c71197f47a5716845a7087cb9e765c2a3d3;hb=af27b1b1828cc3c9d9157905771fb38f4a929110;hp=9294ccfe6e864aa0ff624aff8e80d4742d622eea;hpb=a08d65fa0cbc5f79632be742b818f621f3dc48d0;p=paraslash.git diff --git a/afs.h b/afs.h index 9294ccfe..76464c71 100644 --- a/afs.h +++ b/afs.h @@ -126,6 +126,8 @@ void close_current_mood(void); int mood_update_audio_file(const struct osl_row *aft_row, struct afs_info *old_afsi); int reload_current_mood(void); int mood_delete_audio_file(const struct osl_row *aft_row); +int mood_check_callback(__a_unused const struct osl_object *query, + struct osl_object *result); /* playlist */ @@ -143,7 +145,7 @@ int playlist_check_callback(__a_unused const struct osl_object *query, int table_name ## _init(struct table_info *ti, const char *db); \ void table_name ## _shutdown(enum osl_close_flags flags); \ int cmd_prefix ## _get_name_by_id(uint32_t id, char **name); \ - int cmd_prefix ## _get_name_and_def_by_row(struct osl_row *row, \ + int cmd_prefix ## _get_name_and_def_by_row(const struct osl_row *row, \ char **name, struct osl_object *def); \ extern struct osl_table *table_name ## _table;