blob: 09cf6ed3843085574794fb1e16eba6b0f87ce482 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* This file is part of libdom.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
*/
#ifndef dom_html_collection_h_
#define dom_html_collection_h_
#include <dom/core/exceptions.h>
struct dom_node;
struct dom_string;
typedef struct dom_html_collection dom_html_collection;
dom_exception dom_html_collection_get_length(dom_html_collection *col,
unsigned long *len);
dom_exception dom_html_collection_item(dom_html_collection *col,
unsigned long index, struct dom_node **node);
dom_exception dom_html_collection_named_item(dom_html_collection *col,
struct dom_string *name, struct dom_node **node);
void dom_html_collection_ref(dom_html_collection *col);
void dom_html_collection_unref(dom_html_collection *col);
#endif
|