labwc/include/common/nodename.h
Tomi Ollila 7ad5200f2e includes: identifier consistency in include guards
Made all header files to have LABWC_ prefix in include guard identifers.

Converted from __LABWC_ in 35 include/ files.
Converted from __LAB_ in 5 include/ files.
Added LABWC prefix to 3 include/ files.
Added include guards to 3 include/ files.

The double underscores were removed since according to C standard
those "are always reserved for any use".
2023-05-13 22:29:21 +01:00

20 lines
469 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_NODENAME_H
#define LABWC_NODENAME_H
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <stdio.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
*/
char *nodename(xmlNode * node, char *buf, int len);
#endif /* LABWC_NODENAME_H */