<p>Vadim Yanitskiy <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/13973">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">libosmovty: deprecate vty_init(), add vty_init[_app]_ctx()<br><br>The main problem of vty_init() is that it's using NULL talloc<br>context. We could modify it and start using the context from<br>a given 'vty_app_info' structure, but this might cause the<br>compatibility problems with the existing API users.<br><br>Instead, let's deprecate vty_init() and introduce two new wrappers:<br><br>  - vty_init_ctx() - use a given talloc context,<br>  - vty_init_app_ctx() - use the application's talloc context.<br><br>Change-Id: I65d71f8fc943e103b53b784f690ed56a6e373e3f<br>---<br>M include/osmocom/vty/vty.h<br>M src/vty/vty.c<br>M tests/logging/logging_vty_test.c<br>M tests/tdef/tdef_vty_test_config_root.c<br>M tests/tdef/tdef_vty_test_config_subnode.c<br>M tests/tdef/tdef_vty_test_dynamic.c<br>M tests/vty/vty_test.c<br>M tests/vty/vty_transcript_test.c<br>8 files changed, 45 insertions(+), 13 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/73/13973/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/13973">change 13973</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13973"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I65d71f8fc943e103b53b784f690ed56a6e373e3f </div>
<div style="display:none"> Gerrit-Change-Number: 13973 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Jenkins Builder (1000002) </div>