Author: kkaempf Date: Thu Feb 14 15:00:31 2008 New Revision: 8686 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8686&view=rev Log: more comments Modified: trunk/sat-solver/src/repodata.h Modified: trunk/sat-solver/src/repodata.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repodata.h?rev=8686&r1=8685&r2=8686&view=diff ============================================================================== --- trunk/sat-solver/src/repodata.h (original) +++ trunk/sat-solver/src/repodata.h Thu Feb 14 15:00:31 2008 @@ -102,9 +102,20 @@ } Repodata; - +/* Search key <keyname> (all keys, if keyname == 0) for Id <entry> + * <entry> is _relative_ Id for <data> + * Call <callback> for each match + */ void repodata_search(Repodata *data, Id entry, Id keyname, int (*callback)(void *cbdata, Solvable *s, Repodata *data, struct _Repokey *key, struct _KeyValue *kv), void *cbdata); + +/* + * lookup string type attribute + */ const char *repodata_lookup_str(Repodata *data, Id entry, Id keyid); + +/* + * lookup integer type attribute + */ int repodata_lookup_num(Repodata *data, Id entry, Id keyid, unsigned *value); void repodata_extend(Repodata *data, Id p); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org