shithub: xml-9atom

ref: 524f6890a72aa3629cc91ecf5c505ffa52f7eda4
dir: /xpath.h/

View raw version
#pragma lib "libxpath.a"

enum {
	Xelem = 1,
	Xstring = 2,
	Xnum = 3,
};

typedef struct XpResult XpResult;
struct XpResult {
	int type;
	int error;
	int size;
	int num;
	union {
		char **strings;
		Elem **elems;
		int *numbers;
	};
};

XpResult 	xmllookpath(Elem *, char *);
void     	xmlfreeresult(XpResult *);