summaryrefslogtreecommitdiff
path: root/content/authdb.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-02-19 18:26:23 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2006-02-19 18:26:23 +0000
commit5ce5fe084c733c95544825e35bcd63cc775aee94 (patch)
tree23a1fae1a862e20c891c576325731963dbeaef39 /content/authdb.h
parent7dbc14cf05a7417f372fdda22f20622f8f72175f (diff)
downloadnetsurf-5ce5fe084c733c95544825e35bcd63cc775aee94.tar.gz
netsurf-5ce5fe084c733c95544825e35bcd63cc775aee94.tar.bz2
[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
Diffstat (limited to 'content/authdb.h')
-rw-r--r--content/authdb.h18
1 files changed, 18 insertions, 0 deletions
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 <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