diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2009-02-14 22:55:32 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2009-02-14 22:55:32 +0000 |
commit | f1f3155ef6f28fb8595920e5423336b39bba4ed0 (patch) | |
tree | f7016ea23c888285ac255d06a42a7205ecca48fe /src/parse/parse.h | |
parent | d0d70a21234ce34ab606c403cdb205897ace0cbb (diff) | |
download | libcss-f1f3155ef6f28fb8595920e5423336b39bba4ed0.tar.gz libcss-f1f3155ef6f28fb8595920e5423336b39bba4ed0.tar.bz2 |
Port libcss to libwapcaplet.
It passes the tests, perhaps we need more of them.
Lifetimes of lwc_string objects really need attention before we can consider
this finished.
svn path=/trunk/libcss/; revision=6517
Diffstat (limited to 'src/parse/parse.h')
-rw-r--r-- | src/parse/parse.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/parse/parse.h b/src/parse/parse.h index 5dc1b18..bb6229f 100644 --- a/src/parse/parse.h +++ b/src/parse/parse.h @@ -8,7 +8,8 @@ #ifndef css_parse_parse_h_ #define css_parse_parse_h_ -#include <parserutils/utils/hash.h> +#include <libwapcaplet/libwapcaplet.h> + #include <parserutils/utils/vector.h> #include <libcss/errors.h> @@ -57,7 +58,7 @@ typedef union css_parser_optparams { } css_parser_optparams; css_error css_parser_create(const char *charset, css_charset_source cs_source, - parserutils_hash *dict, css_allocator_fn alloc, void *pw, + lwc_context *dict, css_allocator_fn alloc, void *pw, css_parser **parser); css_error css_parser_destroy(css_parser *parser); @@ -71,8 +72,5 @@ css_error css_parser_completed(css_parser *parser); const char *css_parser_read_charset(css_parser *parser, css_charset_source *source); -const parserutils_hash_entry *css_parser_dict_add(css_parser *parser, - const uint8_t *ptr, size_t len); - #endif |