Sigrid Solveig Haflínudóttiradd xml parserd35571c5 years agoHistory
30 lines · 409 B · C
RawDownload
typedef struct Xelem Xelem;typedef struct Xattr Xattr; struct Xelem{	char  *n;	char  *v;	Xattr *a;	Xelem *ch;	Xelem *next;	void  *priv;}; struct Xattr{	char  *n;	char  *v;	Xattr *next;}; enum{	Xmlstartonly = 1,}; Xelem *xmlread(Biobuf *b, int flags);void xmlfree(Xelem *x);Xelem *xmlget(Xelem *x, char *path, ...);Xattr *xmlgetattr(Xattr *a, char *n);void xmlprint(Xelem *x, int fd);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t