libdom
Loading...
Searching...
No Matches
cdatasection.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 2007 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef dom_internal_core_cdatasection_h_
9#define dom_internal_core_cdatasection_h_
10
11#include <dom/core/exceptions.h>
13#include <dom/core/string.h>
14
16struct dom_document;
17
19 dom_string *name, dom_string *value,
20 dom_cdata_section **result);
21
23
24#define _dom_cdata_section_initialise _dom_text_initialise
25#define _dom_cdata_section_finalise _dom_text_finalise
26
27/* Following comes the protected vtable */
30 struct dom_node_internal **copy);
31
32#define DOM_CDATA_SECTION_PROTECT_VTABLE \
33 __dom_cdata_section_destroy, \
34 _dom_cdata_section_copy
35
36#endif
dom_exception
Definition exceptions.h:24
void __dom_cdata_section_destroy(struct dom_node_internal *node)
Definition cdatasection.c:90
dom_exception _dom_cdata_section_copy(struct dom_node_internal *old, struct dom_node_internal **copy)
Definition cdatasection.c:96
dom_exception _dom_cdata_section_create(struct dom_document *doc, dom_string *name, dom_string *value, dom_cdata_section **result)
Definition cdatasection.c:40
void _dom_cdata_section_destroy(dom_cdata_section *cdata)
Definition cdatasection.c:76
Definition cdatasection.c:19
Definition document.h:43
Definition node.h:54
Definition string.h:19