aboutsummaryrefslogtreecommitdiffstats
path: root/src/db_print.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-13 21:24:22 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 22:09:37 +0200
commita236a439cc84035a70c3f43fd926d39b9d8caaf7 (patch)
tree846667477e41ad2b53897b90c61c1f9d3363b428 /src/db_print.h
parentc779e2674abbc3eed08e49296c188a9f9ed5270e (diff)
downloadmpd-a236a439cc84035a70c3f43fd926d39b9d8caaf7.tar.gz
mpd-a236a439cc84035a70c3f43fd926d39b9d8caaf7.tar.xz
mpd-a236a439cc84035a70c3f43fd926d39b9d8caaf7.zip
db_print: move code to function db_selection_print()
Use it in handle_lsinfo(), and eliminate some duplicate code.
Diffstat (limited to 'src/db_print.h')
-rw-r--r--src/db_print.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/db_print.h b/src/db_print.h
index 76e43c3a0..1b957da18 100644
--- a/src/db_print.h
+++ b/src/db_print.h
@@ -27,10 +27,16 @@
struct client;
struct locate_item_list;
+struct db_selection;
struct db_visitor;
gcc_nonnull(1,2)
bool
+db_selection_print(struct client *client, const struct db_selection *selection,
+ bool full, GError **error_r);
+
+gcc_nonnull(1,2)
+bool
printAllIn(struct client *client, const char *uri_utf8, GError **error_r);
gcc_nonnull(1,2)