shithub: xml-9atom

ref: 47a288683dbdc55c5df9b9f65db9909de6021af0
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 *);