[dmap] Move dmap_send_error() to dacp_send_error()

Means dmap_common doesn't need a dependency to httpd and http replying is kept
within httpd_xxx modules.
This commit is contained in:
ejurgensen
2022-12-19 23:26:50 +01:00
parent 631996f133
commit 316d932d99
3 changed files with 50 additions and 56 deletions

View File

@@ -78,10 +78,6 @@ dmap_add_field(struct evbuffer *evbuf, const struct dmap_field *df, char *strval
void
dmap_error_make(struct evbuffer *evbuf, const char *container, const char *errmsg);
void
dmap_send_error(struct evhttp_request *req, const char *container, const char *errmsg);
int
dmap_encode_file_metadata(struct evbuffer *songlist, struct evbuffer *song, struct db_media_file_info *dbmfi, const struct dmap_field **meta, int nmeta, int sort_tags, int force_wav);