Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 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 |
||
6 | */ |
||
7 | |||
8 | #ifndef dom_internal_core_cdatasection_h_ |
||
9 | #define dom_internal_core_cdatasection_h_ |
||
10 | |||
11 | #include |
||
12 | #include |
||
13 | #include |
||
14 | |||
15 | struct dom_node_internal; |
||
16 | struct dom_document; |
||
17 | |||
18 | dom_exception _dom_cdata_section_create(struct dom_document *doc, |
||
19 | dom_string *name, dom_string *value, |
||
20 | dom_cdata_section **result); |
||
21 | |||
22 | void _dom_cdata_section_destroy(dom_cdata_section *cdata); |
||
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 */ |
||
28 | void __dom_cdata_section_destroy(struct dom_node_internal *node); |
||
29 | dom_exception _dom_cdata_section_copy(struct dom_node_internal *old, |
||
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 |