shithub: riscv

ref: eb73718c25eede77fa970c837f6c000d84ca8f55
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);