mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			450 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			450 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>
 | 
						|
 | 
						|
/**
 | 
						|
 * 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 */
 |