diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-19 10:13:49 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-19 11:17:54 +0200 |
commit | e1e655b02f6c54177f9070eeb221ab95c6d4e20f (patch) | |
tree | b5e64c6aa8ca6121858e49f691aaf87de329081b /lib/common/test/fstree_cli.c | |
parent | 982db0d8d6fdc32d605f716bd891b5bbc4838608 (diff) |
libfstree: hoist file link pointer into parent structure
Instead of having a file_info_t next pointer, requiring an up-cast
to tree_node_t all the time, simply add a "next_by_type" pointer to
the tree node itself, which can also be used for other purposes by
other node types and removes the need for up-casting.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/test/fstree_cli.c')
0 files changed, 0 insertions, 0 deletions