shithub: riscv

ref: 8a4a2dea70aa77475a50968f4c5bd6cdab5d2fb1
dir: /sys/src/cmd/ip/glob.h/

View raw version
typedef struct Glob Glob;
typedef struct Globlist Globlist;

struct Glob{
	String	*glob;
	Glob	*next;
};

struct Globlist{
	Glob	*first;
	Glob	**l;
};

extern	Globlist*	glob(char*);
extern	void		globadd(Globlist*, char*, char*);
extern	void		globlistfree(Globlist *gl);
extern	char*		globiter(Globlist *gl);