summaryrefslogtreecommitdiff
path: root/src/html/html_form_controls_collection.h
blob: 2604c38361bebb6e74ca3747d9194b0bbcda778e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * This file is part of libdom.
 * Licensed under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 * Copyright 2018 Daniel Silverstone <dsilvers@netsurf-browser.org>
 */

#ifndef dom_internal_html_form_controls_collection_h_
#define dom_internal_html_form_controls_collection_h_

#include <dom/html/html_form_controls_collection.h>

#include "html/html_collection.h"

struct dom_html_form_element;

/* Exposed so that the radio nodelist can use it as a sub-criterion */
bool _dom_is_form_control(struct dom_node_internal *node, void *ctx);

dom_exception _dom_html_form_controls_collection_create(struct dom_html_form_element *form,
		dom_html_form_controls_collection **col);

#endif