/*
 * $Id: xml.h,v 1.5 2003/12/13 21:14:43 andrewtaylor Exp $
 */

#ifndef XML_H
#define XML_H

#include <libxml/xmlmemory.h>

xmlDocPtr xmlParse(const char *filename);
int xmlPropExists(xmlNodePtr node, const char *name);
char *xmlGetPropAsStr(xmlNodePtr node, const char *name);
int xmlGetPropAsBool(xmlNodePtr node, const char *name);
int xmlGetPropAsInt(xmlNodePtr node, const char *name);
int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]);
int xmlPropCmp(xmlNodePtr node, const char *name, const char *s);
int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s);

#endif /* XML_H */
