libdom
Loading...
Searching...
No Matches
html_body_element.h
Go to the documentation of this file.
1/*
2 * This file is part of libdom.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2009 Bo Yang <struggleyb.nku.com>
6 */
7
8#ifndef dom_internal_html_body_element_h_
9#define dom_internal_html_body_element_h_
10
12
13#include "html/html_element.h"
14
19
20/* Create a dom_html_body_element object */
22 struct dom_html_element_create_params *params,
23 struct dom_html_body_element **ele);
24
25/* Initialise a dom_html_body_element object */
27 struct dom_html_element_create_params *params,
28 struct dom_html_body_element *ele);
29
30/* Finalise a dom_html_body_element object */
32
33/* Destroy a dom_html_body_element object */
35
36/* The protected virtual functions */
38 dom_string *name, dom_string *value,
39 dom_string **parsed);
42 dom_node_internal **copy);
43
44#define DOM_HTML_BODY_ELEMENT_PROTECT_VTABLE \
45 _dom_html_body_element_parse_attribute
46
47#define DOM_NODE_PROTECT_VTABLE_HTML_BODY_ELEMENT \
48 _dom_virtual_html_body_element_destroy, \
49 _dom_html_body_element_copy
50
51/* Helper functions*/
55#define dom_html_body_element_copy_internal(o, n) \
56 _dom_html_body_element_copy_internal( \
57 (dom_html_body_element *) (o), \
58 (dom_html_body_element *) (n))
59
60#endif
61
dom_exception
Definition exceptions.h:24
dom_exception _dom_html_body_element_initialise(struct dom_html_element_create_params *params, struct dom_html_body_element *ele)
Definition html_body_element.c:57
dom_exception _dom_html_body_element_copy(dom_node_internal *old, dom_node_internal **copy)
Definition html_body_element.c:110
dom_exception _dom_html_body_element_create(struct dom_html_element_create_params *params, struct dom_html_body_element **ele)
Definition html_body_element.c:32
dom_exception _dom_html_body_element_copy_internal(dom_html_body_element *old, dom_html_body_element *new)
Definition html_body_element.c:131
void _dom_html_body_element_finalise(struct dom_html_body_element *ele)
Definition html_body_element.c:69
void _dom_virtual_html_body_element_destroy(dom_node_internal *node)
Definition html_body_element.c:104
void _dom_html_body_element_destroy(struct dom_html_body_element *ele)
Definition html_body_element.c:79
dom_exception _dom_html_body_element_parse_attribute(dom_element *ele, dom_string *name, dom_string *value, dom_string **parsed)
Definition html_body_element.c:90
Definition element.h:29
Definition html_body_element.h:15
struct dom_html_element base
Definition html_body_element.h:16
Definition html_element.h:28
Definition html_element.h:22
Definition node.h:54
Definition string.h:19