mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-19 02:15:18 -04:00
Introduce DAAP protocol implementation
Same restrictions as RSP at the moment: - no transcoding - no authentication
This commit is contained in:
parent
f332f992aa
commit
00876facde
@ -22,6 +22,7 @@ mt_daapd_SOURCES = main.c daapd.h webserver.c \
|
|||||||
mdns_avahi.c mdns_avahi.h \
|
mdns_avahi.c mdns_avahi.h \
|
||||||
httpd.c httpd.h \
|
httpd.c httpd.h \
|
||||||
httpd_rsp.c httpd_rsp.h \
|
httpd_rsp.c httpd_rsp.h \
|
||||||
|
httpd_daap.c httpd_daap.h \
|
||||||
db-generic.c db-generic.h ff-plugins.c ff-plugins.h \
|
db-generic.c db-generic.h ff-plugins.c ff-plugins.h \
|
||||||
scan-wma.c \
|
scan-wma.c \
|
||||||
smart-parser.c smart-parser.h xml-rpc.c xml-rpc.h \
|
smart-parser.c smart-parser.h xml-rpc.c xml-rpc.h \
|
||||||
|
1952
src/httpd_daap.c
Normal file
1952
src/httpd_daap.c
Normal file
File diff suppressed because it is too large
Load Diff
20
src/httpd_daap.h
Normal file
20
src/httpd_daap.h
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
#ifndef __HTTPD_DAAP_H__
|
||||||
|
#define __HTTPD_DAAP_H__
|
||||||
|
|
||||||
|
#include <event.h>
|
||||||
|
#include <evhttp.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
daap_init(void);
|
||||||
|
|
||||||
|
void
|
||||||
|
daap_deinit(void);
|
||||||
|
|
||||||
|
void
|
||||||
|
daap_request(struct evhttp_request *req);
|
||||||
|
|
||||||
|
int
|
||||||
|
daap_is_request(struct evhttp_request *req, char *uri);
|
||||||
|
|
||||||
|
#endif /* !__HTTPD_DAAP_H__ */
|
Loading…
x
Reference in New Issue
Block a user