diff options
Diffstat (limited to 'perl-RPM2/RPM2.xs')
-rw-r--r-- | perl-RPM2/RPM2.xs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-RPM2/RPM2.xs b/perl-RPM2/RPM2.xs index 3272f85bb..9243d32a8 100644 --- a/perl-RPM2/RPM2.xs +++ b/perl-RPM2/RPM2.xs @@ -162,6 +162,13 @@ _header_tag(h, tag) } headerFreeData(ret, type); +int +_header_is_source(h) + Header h + CODE: + RETVAL = headerIsEntry(h, RPMTAG_SOURCEPACKAGE); + OUTPUT: + RETVAL void _populate_header_tags(href) |