diff options
author | James Bowes <jbowes@redhat.com> | 2008-06-08 17:10:39 -0400 |
---|---|---|
committer | James Bowes <jbowes@redhat.com> | 2008-06-08 17:11:41 -0400 |
commit | 9074e439d6102180298f5dcb4822fbcf2399a226 (patch) | |
tree | b0da3090869a51eca9eb83e2d37d4a83983d0e32 /razor.h | |
parent | 6b8b00f4b58bd1e42251e49bc51fd4ffec9787b7 (diff) |
Import summary and description into the repo files.
Also add a 'info' command for displaying them.
Diffstat (limited to 'razor.h')
-rw-r--r-- | razor.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -51,6 +51,11 @@ int razor_set_write(struct razor_set *set, const char *filename); struct razor_package * razor_set_get_package(struct razor_set *set, const char *package); +const char * +razor_package_get_summary(struct razor_set *set, struct razor_package *package); +const char * +razor_package_get_description(struct razor_set *set, struct razor_package *package); + struct razor_package_iterator; struct razor_package_iterator * razor_package_iterator_create(struct razor_set *set); @@ -170,6 +175,9 @@ void razor_importer_begin_package(struct razor_importer *importer, const char *name, const char *version, const char *arch); +void razor_importer_add_details(struct razor_importer *importer, + const char *summary, + const char *description); void razor_importer_add_property(struct razor_importer *importer, const char *name, enum razor_version_relation relation, |