<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/andrei-datcu/opensips dr_api</pre>
<p>Or view, comment on, or merge it at:</p>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/338'>https://github.com/OpenSIPS/opensips/pull/338</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>First dr_api draft</li>
  <li>drouting api implementation done</li>
  <li>Exported load_dr function for loading dr_api</li>
  <li>dr-api removed unnecessary lock when deleting partition</li>
  <li>[drouting] Fixed api leak and added rule_id as parameter when adding rule. No more internal lock per partition</li>
  <li>[drouting] dr_api removed unnecessary label</li>
  <li>[drouting] dr_api: match_number returns rt_info_t</li>
  <li>Matched prefix&#39;s length available through match_number function</li>
  <li>[dr_api] dr_head freeing is now done without freeing the time_rec field of each rule</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/338/files#diff-0">modules/drouting/dr_api.h</a>
    (69)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/338/files#diff-1">modules/drouting/dr_api_internal.c</a>
    (185)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/338/files#diff-2">modules/drouting/dr_api_internal.h</a>
    (37)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/338/files#diff-3">modules/drouting/drouting.c</a>
    (37)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/338.patch'>https://github.com/OpenSIPS/opensips/pull/338.patch</a></li>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/338.diff'>https://github.com/OpenSIPS/opensips/pull/338.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/338">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNzA4MTM1MiwiZGF0YSI6eyJpZCI6NDMzODg5OTJ9fQ==--41f7667f07230b22ff1f609ea1f3d4334c73521c.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/pull/338","name":"View Pull Request"}}</script>