summaryrefslogtreecommitdiff
path: root/src/util/dom-str.h
blob: 9ce7bb998b29c1d71426bde2c8e6f20108fdb24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * This file is part of LibNSLayout
 * Licensed under the ISC License, http://opensource.org/licenses/ISC
 * Copyright 2015 Michael Drake <tlsa@netsurf-browser.org>
 */

/** \file src/util/dom-str.h
 * Layout object handling
 */

#ifndef nslayout_util_dom_str_h_
#define nslayout_util_dom_str_h_

extern dom_string *nsl_dom_str_node_inserted;
extern dom_string *nsl_dom_str_node_removed;
extern dom_string *nsl_dom_str_subtree_modified;
extern dom_string *nsl_dom_str_attr_modified;
extern dom_string *nsl_dom_str_characterdata_modified;

/**
 * Create the internal DOM strings
 *
 * \return NSLAYOUT_OK on success, appropriate error otherwise.
 */
nslayout_error nsl_dom_str_init(void);

/**
 * Unref the internal DOM strings
 *
 * \return NSLAYOUT_OK on success, appropriate error otherwise.
 */
nslayout_error nsl_dom_str_fini(void);

#endif