mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
5ce5fe084c
Rewrite HTTP authentication. Fix extraction of realm from WWW-Authenticate header. Tidy up login dialog code. svn path=/import/netsurf/; revision=2085
19 lines
496 B
C
19 lines
496 B
C
/*
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
* Licensed under the GNU General Public License,
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
* Copyright 2006 John M Bell <jmb202@ecs.soton.ac.uk>
|
|
*/
|
|
|
|
/** \file
|
|
* HTTP authentication database (interface)
|
|
*/
|
|
|
|
#ifndef _NETSURF_CONTENT_AUTHDB_H_
|
|
#define _NETSURF_CONTENT_AUTHDB_H_
|
|
|
|
bool authdb_insert(const char *url, const char *realm, const char *auth);
|
|
const char *authdb_get(const char *url);
|
|
|
|
#endif
|