diff options
author | Michael Matz <matz@suse.de> | 2008-08-13 13:26:29 +0000 |
---|---|---|
committer | Michael Matz <matz@suse.de> | 2008-08-13 13:26:29 +0000 |
commit | 5fcd89ae9c3f3efc1d9e939ca9548b6da8f8f9d9 (patch) | |
tree | 862b80eb1d287394370a123f5ec36ed17751a12c /tools/dumpsolv.c | |
parent | 4635bd64b765c8498cd08613bf389dfa44b9a662 (diff) | |
download | libsolv-5fcd89ae9c3f3efc1d9e939ca9548b6da8f8f9d9.tar.gz libsolv-5fcd89ae9c3f3efc1d9e939ca9548b6da8f8f9d9.tar.bz2 libsolv-5fcd89ae9c3f3efc1d9e939ca9548b6da8f8f9d9.zip |
Support searching in filelists via the dataiterator. Under control of an
extra flag, because this is fairly costly. Intended for user-controled
queries, _not_ to be used by the solver or the like.
Diffstat (limited to 'tools/dumpsolv.c')
-rw-r--r-- | tools/dumpsolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dumpsolv.c b/tools/dumpsolv.c index ec37bbe..3e95f0c 100644 --- a/tools/dumpsolv.c +++ b/tools/dumpsolv.c @@ -321,7 +321,7 @@ int main(int argc, char **argv) #if 0 printf ("\nSearchresults:\n"); Dataiterator di; - dataiterator_init(&di, pool->repos[0], 0, 0, "3", SEARCH_EXTRA | SEARCH_SUBSTRING | SEARCH_ALL_REPOS); + dataiterator_init(&di, pool->repos[0], 0, 0, "3", SEARCH_EXTRA | SEARCH_SUBSTRING | SEARCH_ALL_REPOS | SEARCH_FILES); //int count = 0; while (dataiterator_step(&di)) { |