summaryrefslogtreecommitdiff
path: root/src/domain.h
diff options
context:
space:
mode:
authorElias Norberg <xyzzy@kudzu.se>2013-01-28 11:46:49 +0100
committerElias Norberg <xyzzy@kudzu.se>2013-01-28 11:46:49 +0100
commit5f0b49d6f61f2825b0f45c750e13a22637746796 (patch)
tree25aa43d649b70a7d33c5cd7a143aea494479e5b4 /src/domain.h
parent56877826f0806bb2618d15f698bf7d665cca0b5e (diff)
downloaddwb-5f0b49d6f61f2825b0f45c750e13a22637746796.zip
New function 'domain_get_tld()'
This function can identify attemtps to have domains above the allowed TLD - which can then be used to identify supercookies et.al.
Diffstat (limited to 'src/domain.h')
-rw-r--r--src/domain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/domain.h b/src/domain.h
index f9b06147..8203db78 100644
--- a/src/domain.h
+++ b/src/domain.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2010-2013 Stefan Bolte <portix@gmx.net>
+ * Copyright (c) 2013 Elias Norberg <xyzzy@kudzu.se>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -28,4 +29,5 @@ void domain_end(void);
GSList * domain_get_cookie_domains(WebKitWebView *wv);
gboolean domain_match(char **, const char *, const char *);
const char * domain_get_base_for_host(const char *host);
+const char * domain_get_tld(const char *domain);
#endif