projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8d30c
)
xml_dump: Update example of usage in module comment
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Wed, 25 Jun 2014 14:08:01 +0000
(16:08 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Wed, 25 Jun 2014 14:08:01 +0000
(16:08 +0200)
src/xml_dump.h
patch
|
blob
|
history
diff --git
a/src/xml_dump.h
b/src/xml_dump.h
index
ea2671f
..
b296863
100644
(file)
--- a/
src/xml_dump.h
+++ b/
src/xml_dump.h
@@
-37,8
+37,7
@@
extern "C" {
* cr_xml_dump_init();
* cr_package_parser_init();
*
- * pkg = cr_package_from_rpm("path/to/rpm.rpm", CR_CHECKSUM_SHA256,
- * "repodata/rpm.rpm", NULL, 10, NULL);
+ * pkg = cr_package_from_rpm_base("path/to/rpm.rpm", 5, CR_HDRR_NONE, NULL);
*
* xml = cr_xml_dump(pkg, NULL);
*