summaryrefslogtreecommitdiff
path: root/src/core/attr.h
blob: dc73ae028daabc65dd4ade12ad0fdc3de11f4ef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * This file is part of libdom.
 * Licensed under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
 */

#ifndef dom_internal_core_attr_h_
#define dom_internal_core_attr_h_

#include <dom/core/exceptions.h>

struct dom_document;
struct dom_attr;
struct dom_string;

dom_exception dom_attr_create(struct dom_document *doc,
		struct dom_string *name, struct dom_attr **result);
void dom_attr_destroy(struct dom_document *doc, struct dom_attr *attr);

#endif