libmpdclient 2.22
database.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2// Copyright The Music Player Daemon Project
3
13#ifndef MPD_DATABASE_H
14#define MPD_DATABASE_H
15
16#include <stdbool.h>
17
18struct mpd_connection;
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
35bool
36mpd_send_list_all(struct mpd_connection *connection, const char *path);
37
50bool
51mpd_send_list_all_meta(struct mpd_connection *connection, const char *path);
52
63bool
64mpd_send_list_meta(struct mpd_connection *connection, const char *path);
65
80bool
81mpd_send_list_files(struct mpd_connection *connection, const char *uri);
82
94bool
95mpd_send_read_comments(struct mpd_connection *connection, const char *path);
96
106bool
107mpd_send_update(struct mpd_connection *connection, const char *path);
108
117bool
118mpd_send_rescan(struct mpd_connection *connection, const char *path);
119
127unsigned
129
138unsigned
139mpd_run_update(struct mpd_connection *connection, const char *path);
140
149unsigned
150mpd_run_rescan(struct mpd_connection *connection, const char *path);
151
152#ifdef __cplusplus
153}
154#endif
155
156#endif
bool mpd_send_list_all(struct mpd_connection *connection, const char *path)
unsigned mpd_run_rescan(struct mpd_connection *connection, const char *path)
bool mpd_send_update(struct mpd_connection *connection, const char *path)
bool mpd_send_list_meta(struct mpd_connection *connection, const char *path)
bool mpd_send_read_comments(struct mpd_connection *connection, const char *path)
unsigned mpd_recv_update_id(struct mpd_connection *connection)
unsigned mpd_run_update(struct mpd_connection *connection, const char *path)
bool mpd_send_rescan(struct mpd_connection *connection, const char *path)
bool mpd_send_list_files(struct mpd_connection *connection, const char *uri)
bool mpd_send_list_all_meta(struct mpd_connection *connection, const char *path)