From c1394d39372f55d03169154c7e18cd2aa04f60da Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Wed, 25 Jun 2014 16:08:01 +0200 Subject: [PATCH] xml_dump: Update example of usage in module comment --- src/xml_dump.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xml_dump.h b/src/xml_dump.h index ea2671f..b296863 100644 --- 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); * -- 2.7.4