]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
08bcebf3 LP |
2 | #pragma once |
3 | ||
08bcebf3 LP |
4 | enum { |
5 | XML_END, | |
6 | XML_TEXT, | |
7 | XML_TAG_OPEN, | |
8 | XML_TAG_CLOSE, | |
9 | XML_TAG_CLOSE_EMPTY, | |
10 | XML_ATTRIBUTE_NAME, | |
e7eebcfc | 11 | XML_ATTRIBUTE_VALUE, |
08bcebf3 LP |
12 | }; |
13 | ||
bcf3295d | 14 | int xml_tokenize(const char **p, char **name, void **state, unsigned *line); |