summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ip/glob.h
blob: 03f6833d26ec638ca3f13cec64adf59662a7ffcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);