Introduce DAAP protocol implementation

Same restrictions as RSP at the moment:
 - no transcoding
 - no authentication
This commit is contained in:
Julien BLACHE 2009-04-28 17:48:57 +02:00
parent f332f992aa
commit 00876facde
3 changed files with 1973 additions and 0 deletions

View File

@ -22,6 +22,7 @@ mt_daapd_SOURCES = main.c daapd.h webserver.c \
mdns_avahi.c mdns_avahi.h \
httpd.c httpd.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 \
scan-wma.c \
smart-parser.c smart-parser.h xml-rpc.c xml-rpc.h \

1952
src/httpd_daap.c Normal file

File diff suppressed because it is too large Load Diff

20
src/httpd_daap.h Normal file
View 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__ */