From 5ce5fe084c733c95544825e35bcd63cc775aee94 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 19 Feb 2006 18:26:23 +0000 Subject: [project @ 2006-02-19 18:26:23 by jmb] Rewrite HTTP authentication. Fix extraction of realm from WWW-Authenticate header. Tidy up login dialog code. svn path=/import/netsurf/; revision=2085 --- content/authdb.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/authdb.h (limited to 'content/authdb.h') diff --git a/content/authdb.h b/content/authdb.h new file mode 100644 index 000000000..ece7b763d --- /dev/null +++ b/content/authdb.h @@ -0,0 +1,18 @@ +/* + * 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 + */ + +/** \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 -- cgit v1.2.3