diff options
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -64,13 +64,21 @@ enum debug_flags { }; /** + * A root path to explore. + */ +struct root { + /** The root path itself. */ + const char *path; + /** The next path in the list. */ + struct root *next; +}; + +/** * The parsed command line. */ struct cmdline { - /** The array of paths to start from. */ - const char **roots; - /** The number of root paths. */ - size_t nroots; + /** The list of root paths. */ + struct root *roots; /** Color data. */ struct colors *colors; |