xml_dump: Update example of usage in module comment
authorTomas Mlcoch <tmlcoch@redhat.com>
Wed, 25 Jun 2014 14:08:01 +0000 (16:08 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Wed, 25 Jun 2014 14:08:01 +0000 (16:08 +0200)
src/xml_dump.h

index ea2671f..b296863 100644 (file)
@@ -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);
  *