mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
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".
20 lines
469 B
C
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 */
|