<p>Looks sane to me to.</p>

<p>Just a note on error returns: NULL is a blunt tool for reporting errors, when adding new interfaces its worth considering whether you might want more nyanced feedback in some cases / in the future. That rpm returns NULL instead of error code in many cases does not necessarily make it a good design :)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/rpm-software-management/rpm/pull/34#issuecomment-159604687">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb80_rTcvJGCOrgbAbgLpSTPZmKGbnxks5pJaxZgaJpZM4GnYdM.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/34#issuecomment-159604687"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>