summaryrefslogtreecommitdiff
path: root/src/select/hash.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-12-13 20:16:52 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-12-13 20:16:52 +0000
commit1b95fec601a3d006ba6b99e1dea3f61c3c8318fc (patch)
tree1a0c3a78afe1db919ff6b4c56a6c3f2e01d03607 /src/select/hash.h
parente3372335ec1628e1d6ef1a4fd63b11bb47f2e0e6 (diff)
downloadlibcss-1b95fec601a3d006ba6b99e1dea3f61c3c8318fc.tar.gz
libcss-1b95fec601a3d006ba6b99e1dea3f61c3c8318fc.tar.bz2
Various changes which modify API and ABI:
- Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match.
Diffstat (limited to 'src/select/hash.h')
-rw-r--r--src/select/hash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/select/hash.h b/src/select/hash.h
index f572048..71f610f 100644
--- a/src/select/hash.h
+++ b/src/select/hash.h
@@ -10,10 +10,11 @@
#include <libwapcaplet/libwapcaplet.h>
-#include <libcss/bloom.h>
#include <libcss/errors.h>
#include <libcss/functypes.h>
+#include "select/bloom.h"
+
/* Ugh. We need this to avoid circular includes. Happy! */
struct css_selector;
@@ -33,8 +34,7 @@ typedef css_error (*css_selector_hash_iterator)(
const struct css_selector **current,
const struct css_selector ***next);
-css_error css__selector_hash_create(css_allocator_fn alloc, void *pw,
- css_selector_hash **hash);
+css_error css__selector_hash_create(css_selector_hash **hash);
css_error css__selector_hash_destroy(css_selector_hash *hash);
css_error css__selector_hash_insert(css_selector_hash *hash,