diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-10 21:36:14 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-10 21:36:14 +0000 |
commit | acfc9fd1b44f7b72ba66705daf34914940509793 (patch) | |
tree | 9ed7dfde5664ff05fd47565d3f68c27792604500 /src/core/nodelist.h | |
parent | d39dbc93d93f537962fe998031ade04d7ee6ca6a (diff) | |
download | libdom-acfc9fd1b44f7b72ba66705daf34914940509793.tar.gz libdom-acfc9fd1b44f7b72ba66705daf34914940509793.tar.bz2 |
Add NodeList and string comparison API
svn path=/trunk/dom/; revision=3394
Diffstat (limited to 'src/core/nodelist.h')
-rw-r--r-- | src/core/nodelist.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/core/nodelist.h b/src/core/nodelist.h new file mode 100644 index 0000000..1e96f8d --- /dev/null +++ b/src/core/nodelist.h @@ -0,0 +1,31 @@ +/* + * This file is part of libdom. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org> + */ + +#ifndef dom_internal_nodelist_h_ +#define dom_internal_nodelist_h_ + +#include <stdbool.h> + +#include <dom/core/nodelist.h> + +struct dom_document; +struct dom_node; +struct dom_nodelist; +struct dom_string; + +/* Create a nodelist */ +dom_exception dom_nodelist_create(struct dom_document *doc, + struct dom_node *root, struct dom_string *tagname, + struct dom_string *namespace, struct dom_string *localname, + struct dom_nodelist **list); + +/* Match a nodelist instance against a set of nodelist creation parameters */ +bool dom_nodelist_match(struct dom_nodelist *list, struct dom_node *root, + struct dom_string *tagname, struct dom_string *namespace, + struct dom_string *localname); + +#endif |