blob: c4ee1d8d66087fc0b0c319423a954d8c3e891c50 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/*
* 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.com>
*/
#ifndef dom_html_form_element_h_
#define dom_html_form_element_h_
#include <dom/core/exceptions.h>
#include <dom/core/string.h>
struct dom_html_collection;
typedef struct dom_html_form_element dom_html_form_element;
dom_exception dom_html_form_element_get_elements(dom_html_form_element *ele,
struct dom_html_collection **col);
dom_exception dom_html_form_element_get_length(dom_html_form_element *ele,
unsigned long *len);
dom_exception dom_html_form_element_get_accept_charset(
dom_html_form_element *ele, dom_string **accept_charset);
dom_exception dom_html_form_element_set_accept_charset(
dom_html_form_element *ele, dom_string *accept_charset);
dom_exception dom_html_form_element_get_action(
dom_html_form_element *ele, dom_string **action);
dom_exception dom_html_form_element_set_action(
dom_html_form_element *ele, dom_string *action);
dom_exception dom_html_form_element_get_enctype(
dom_html_form_element *ele, dom_string **enctype);
dom_exception dom_html_form_element_set_enctype(
dom_html_form_element *ele, dom_string *enctype);
dom_exception dom_html_form_element_get_method(
dom_html_form_element *ele, dom_string **method);
dom_exception dom_html_form_element_set_method(
dom_html_form_element *ele, dom_string *method);
dom_exception dom_html_form_element_get_target(
dom_html_form_element *ele, dom_string **target);
dom_exception dom_html_form_element_set_target(
dom_html_form_element *ele, dom_string *target);
dom_exception dom_html_form_element_submit(dom_html_form_element *ele);
dom_exception dom_html_form_element_reset(dom_html_form_element *ele);
#endif
|