Mailinglist Archive: zypp-devel (230 mails)
| < Previous | Next > |
Re: [zypp-devel] Re: [zypp-commit] r8690 - in /trunk/sat-solver/src: repo.c repo.h
- From: "Duncan Mac-Vicar P." <dmacvicar@xxxxxxx>
- Date: Fri, 15 Feb 2008 19:24:33 +0100
- Message-id: <47B5D8E1.6080007@xxxxxxx>
Klaus Kaempf wrote:
Another confusion due to lack of documentation :-). The repodata_search
function actually _can_ retrieve an attribute of a resolvable. Searching
only happens if you leave the solvable id or the attribute id to 0.
The lookup functions are there mainly because it becames tedious to use
a callback just to look for an attribute that should be there.
Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
Well, I looked into repo_search and from the documentation^w^w what I
saw, it seemed more like a general 'search' function.
I am interested in accessing attribute values, _not_ searching for
matches. So repo_lookup seemed more natural besides repo_lookup_str
and repo_lookup_num.
Klaus
Another confusion due to lack of documentation :-). The repodata_search
function actually _can_ retrieve an attribute of a resolvable. Searching
only happens if you leave the solvable id or the attribute id to 0.
The lookup functions are there mainly because it becames tedious to use
a callback just to look for an attribute that should be there.
Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |