dir_component
struct dir_component *next;
static struct dir_component *gen_dir_component(void);
static struct dir_component *
struct dir_component *new_dir;
new_dir = (struct dir_component *)safe_calloc
(sizeof (struct dir_component));
static void dirs_cleanup(struct dir_component *);
static void add_dir(struct dir_component **, char *);
struct dir_component *current_level = NULL, *next_level = NULL;
struct dir_component *tmp_ptr;
dirs_cleanup(struct dir_component *dir)
struct dir_component *next;
add_dir(struct dir_component **dir, char *dirname)
struct dir_component *new, *next_dir;