00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef MPD_DB_UTILS_H
00021 #define MPD_DB_UTILS_H
00022
00023 #include "gcc.h"
00024
00025 #include <glib.h>
00026 #include <stdbool.h>
00027
00028 struct locate_item_list;
00029 struct player_control;
00030
00031 gcc_nonnull(1,2)
00032 bool
00033 addAllIn(struct player_control *pc, const char *uri, GError **error_r);
00034
00035 gcc_nonnull(1,2)
00036 bool
00037 addAllInToStoredPlaylist(const char *uri_utf8, const char *path_utf8,
00038 GError **error_r);
00039
00040 gcc_nonnull(1,2,3)
00041 bool
00042 findAddIn(struct player_control *pc, const char *name,
00043 const struct locate_item_list *criteria, GError **error_r);
00044
00045 gcc_nonnull(1,2,3)
00046 bool
00047 search_add_songs(struct player_control *pc, const char *uri,
00048 const struct locate_item_list *criteria, GError **error_r);
00049
00050 gcc_nonnull(1,2,3)
00051 bool
00052 search_add_to_playlist(const char *uri, const char *path_utf8,
00053 const struct locate_item_list *criteria,
00054 GError **error_r);
00055
00056 #endif