libdom
Loading...
Searching...
No Matches
pi.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_processinginstruction_h_
9#define dom_internal_core_processinginstruction_h_
10
11#include <dom/core/exceptions.h>
12#include <dom/core/pi.h>
13
15 dom_string *name, dom_string *value,
17
19
20#define _dom_processing_instruction_initialise _dom_node_initialise
21#define _dom_processing_instruction_finalise _dom_node_finalise
22
23/* Following comes the protected vtable */
26
27#define DOM_PI_PROTECT_VTABLE \
28 _dom_pi_destroy, \
29 _dom_pi_copy
30
31#endif
dom_exception
Definition exceptions.h:24
dom_exception _dom_processing_instruction_create(dom_document *doc, dom_string *name, dom_string *value, dom_processing_instruction **result)
Definition pi.c:47
void _dom_pi_destroy(dom_node_internal *node)
Definition pi.c:97
dom_exception _dom_pi_copy(dom_node_internal *old, dom_node_internal **copy)
Definition pi.c:104
void _dom_processing_instruction_destroy(dom_processing_instruction *pi)
Definition pi.c:83
Definition document.h:43
Definition node.h:54
Definition pi.c:19
Definition string.h:19