glob.h 308 B

1234567891011121314151617
  1. typedef struct Glob Glob;
  2. typedef struct Globlist Globlist;
  3. struct Glob{
  4. String *glob;
  5. Glob *next;
  6. };
  7. struct Globlist{
  8. Glob *first;
  9. Glob **l;
  10. };
  11. extern Globlist* glob(char*);
  12. extern void globadd(Globlist*, char*, char*);
  13. extern void globlistfree(Globlist *gl);
  14. extern char* globiter(Globlist *gl);