]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/xml.h
tree-wide: drop 'This file is part of systemd' blurb
[thirdparty/systemd.git] / src / basic / xml.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
08bcebf3
LP
2#pragma once
3
4/***
08bcebf3 5 Copyright 2013 Lennart Poettering
08bcebf3
LP
6***/
7
8enum {
9 XML_END,
10 XML_TEXT,
11 XML_TAG_OPEN,
12 XML_TAG_CLOSE,
13 XML_TAG_CLOSE_EMPTY,
14 XML_ATTRIBUTE_NAME,
e7eebcfc 15 XML_ATTRIBUTE_VALUE,
08bcebf3
LP
16};
17
bcf3295d 18int xml_tokenize(const char **p, char **name, void **state, unsigned *line);