2021-11-13 21:56:53 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2023-05-13 16:10:33 +03:00
|
|
|
#ifndef LABWC_NODENAME_H
|
|
|
|
|
#define LABWC_NODENAME_H
|
2021-02-16 21:04:49 +00:00
|
|
|
|
|
|
|
|
#include <libxml/parser.h>
|
|
|
|
|
#include <libxml/tree.h>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* nodename - give xml node an ascii name
|
|
|
|
|
* @node: xml-node
|
|
|
|
|
* @buf: buffer to receive the name
|
|
|
|
|
* @len: size of buffer
|
|
|
|
|
*
|
|
|
|
|
* For example, the xml structure <a><b><c></c></b></a> would return the
|
|
|
|
|
* name c.b.a
|
|
|
|
|
*/
|
2022-04-04 20:53:36 +01:00
|
|
|
char *nodename(xmlNode * node, char *buf, int len);
|
2021-02-16 21:04:49 +00:00
|
|
|
|
2023-05-13 16:10:33 +03:00
|
|
|
#endif /* LABWC_NODENAME_H */
|