]> git.sesse.net Git - vlc/commit
Add library functions for HTTP client authentication
authorMichael Hanselmann <public@hansmi.ch>
Tue, 21 Jul 2009 23:06:38 +0000 (01:06 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 29 Jul 2009 16:00:24 +0000 (19:00 +0300)
commite48ba9bd73437b431d745f2d14e8cd71d2271747
tree444820069f4d9a8dfa4905921bf7aeae2f9fe9f7
parentd4304a6372e0c38ebe9b3c1b5704ee8d33e69e53
Add library functions for HTTP client authentication

These functions can be used by HTTP clients to authenticate against
HTTP servers using the Basic and Digest algorithms as described in
RFC2617.

Most of the code is taken from modules/access/http.c, although it
includes modifications to make it work as library functions and to
fix some issues. The HTTP access module can be converted at a
later point, but there's still some stuff needing cleanup first.

These functions will be used for the Remote Audio Output Protocol
plugin to authenticate VLC against RAOP-compatible devices if the
user enabled password protection.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
include/vlc_http.h [new file with mode: 0644]
src/Makefile.am
src/libvlccore.sym
src/misc/http_auth.c [new file with mode: 0644]