diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-05-25 12:34:54 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-05-25 12:34:54 +0200 |
commit | 553eb9afd1a57bbe56bdddd77ddf0bb450ee32b8 (patch) | |
tree | 945344300bdb9fd47826e315aeeb053386fad65b /qatom.c | |
parent | libq/tree: allow tree_foreach_packages to be called multiple times (diff) | |
download | portage-utils-553eb9afd1a57bbe56bdddd77ddf0bb450ee32b8.tar.gz portage-utils-553eb9afd1a57bbe56bdddd77ddf0bb450ee32b8.tar.bz2 portage-utils-553eb9afd1a57bbe56bdddd77ddf0bb450ee32b8.zip |
libq/tree: rework tree_match_atom to return a list of results
Major change is that multiple results are returned, somewhat controlled
by flags, and that the results are valid until the tree is closed. Each
match result needs to be closed individually though.
This required some hoops to make it work with Packages file or binpkg
repos. The latter are largely simulated now, and do not really benefit
from the cheaper point and lookup approach that tree_match_atom tries to
provide.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qatom.c')
0 files changed, 0 insertions, 0 deletions