libdom
Loading...
Searching...
No Matches
entity_ref.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_entityrererence_h_
9#define dom_internal_core_entityrererence_h_
10
11#include <dom/core/exceptions.h>
12#include <dom/core/entity_ref.h>
13
15 dom_string *name, dom_string *value,
16 dom_entity_reference **result);
17
19
20#define _dom_entity_reference_initialise _dom_node_initialise
21#define _dom_entity_reference_finalise _dom_node_finalise
22
23/* Following comes the protected vtable */
26
27#define DOM_ER_PROTECT_VTABLE \
28 _dom_er_destroy, \
29 _dom_er_copy
30
31/* Helper functions */
34 dom_string **result);
35
36#endif
dom_exception
Definition exceptions.h:24
dom_exception _dom_entity_reference_get_textual_representation(dom_entity_reference *entity, dom_string **result)
Definition entity_ref.c:103
dom_exception _dom_entity_reference_create(dom_document *doc, dom_string *name, dom_string *value, dom_entity_reference **result)
Definition entity_ref.c:48
void _dom_entity_reference_destroy(dom_entity_reference *entity)
Definition entity_ref.c:83
void _dom_er_destroy(dom_node_internal *node)
Definition entity_ref.c:117
dom_exception _dom_er_copy(dom_node_internal *old, dom_node_internal **copy)
Definition entity_ref.c:123
Definition document.h:43
Definition entity_ref.c:19
Definition node.h:54
Definition string.h:19