<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/16188">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty_app_info.is_config_node: add OSMO_DEPRECATED<br><br>Although this OSMO_DEPRECATED doesn't seem to generate a warning when compiling<br>code that sets .is_config_node = foo, it seems a good idea to add the<br>deprecation tag.<br><br>It is deprecated since commit "vty: track parent nodes also for telnet sessions"<br>I2b32b4fe20732728db6e9cdac7e484d96ab86dc5<br><br>Change-Id: I800507b27cb0d536c1a4c203d7f7b90eec05a69c<br>---<br>M include/osmocom/vty/vty.h<br>1 file changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/88/16188/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h</span><br><span>index 9acaa7d..b63dc3b 100644</span><br><span>--- a/include/osmocom/vty/vty.h</span><br><span>+++ b/include/osmocom/vty/vty.h</span><br><span>@@ -5,6 +5,7 @@</span><br><span> #include <stdbool.h></span><br><span> </span><br><span> #include <osmocom/core/linuxlist.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <osmocom/core/defs.h></span><br><span> </span><br><span> /*! \defgroup vty VTY (Virtual TTY) interface</span><br><span>  *  @{</span><br><span>@@ -186,7 +187,9 @@</span><br><span>      int (*go_parent_cb)(struct vty *vty);</span><br><span>        /*! OBSOLETED: Implicit parent node tracking has replaced the use of this callback. This callback is no longer</span><br><span>        * called, ever, and can be left NULL. */</span><br><span style="color: hsl(0, 100%, 40%);">-       int (*is_config_node)(struct vty *vty, int node);</span><br><span style="color: hsl(120, 100%, 40%);">+     int (*is_config_node)(struct vty *vty, int node)</span><br><span style="color: hsl(120, 100%, 40%);">+              OSMO_DEPRECATED("Implicit parent node tracking has replaced the use of this callback. This callback is"</span><br><span style="color: hsl(120, 100%, 40%);">+                             " no longer called, ever, and can be left NULL.");</span><br><span>         /*! Check if the config is consistent before write */</span><br><span>        int (*config_is_consistent)(struct vty *vty);</span><br><span> };</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/16188">change 16188</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/c/libosmocore/+/16188"/><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-Change-Id: I800507b27cb0d536c1a4c203d7f7b90eec05a69c </div>
<div style="display:none"> Gerrit-Change-Number: 16188 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>