libdom
Loading...
Searching...
No Matches
doc_fragment.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_documentfragment_h_
9#define dom_internal_core_documentfragment_h_
10
11#include <dom/core/exceptions.h>
13
15 dom_string *name, dom_string *value,
16 dom_document_fragment **result);
17
19
20#define _dom_document_fragment_initialise _dom_node_initialise
21#define _dom_document_fragment_finalise _dom_node_finalise
22
23
24/* Following comes the protected vtable */
27
28#define DOM_DF_PROTECT_VTABLE \
29 _dom_df_destroy, \
30 _dom_df_copy
31
32#endif
dom_exception
Definition exceptions.h:24
dom_exception _dom_df_copy(dom_node_internal *old, dom_node_internal **copy)
Definition doc_fragment.c:104
void _dom_df_destroy(dom_node_internal *node)
Definition doc_fragment.c:98
void _dom_document_fragment_destroy(dom_document_fragment *frag)
Definition doc_fragment.c:84
dom_exception _dom_document_fragment_create(dom_document *doc, dom_string *name, dom_string *value, dom_document_fragment **result)
Definition doc_fragment.c:50
Definition doc_fragment.c:21
Definition document.h:43
Definition node.h:54
Definition string.h:19