<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20481">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">command: add library command attribute for libosmo-sccp<br><br>Change-Id: I0efc57f2cb54798ba207ae6fef9af4771d96bfa9<br>Related: SYS#4937, OS#1601<br>---<br>M include/osmocom/vty/command.h<br>M src/vty/command.c<br>2 files changed, 8 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/81/20481/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h</span><br><span>index 232da2c..2cb45dd 100644</span><br><span>--- a/include/osmocom/vty/command.h</span><br><span>+++ b/include/osmocom/vty/command.h</span><br><span>@@ -153,6 +153,8 @@</span><br><span>       * 3. Values are not flags but indexes, unlike CMD_ATTR_*.</span><br><span>    * 4. Ordering: new entries added before _OSMO_CORE_LIB_ATTR_COUNT. */</span><br><span>       OSMO_SCCP_LIB_ATTR_RSTRT_ASP,</span><br><span style="color: hsl(120, 100%, 40%);">+ OSMO_ABIS_LIB_ATTR_IPA_NEW_LNK,</span><br><span style="color: hsl(120, 100%, 40%);">+       OSMO_ABIS_LIB_ATTR_LINE_UPD,</span><br><span> </span><br><span>     /* Keep this floating entry last, it's needed for count check. */</span><br><span>        _OSMO_CORE_LIB_ATTR_COUNT</span><br><span>diff --git a/src/vty/command.c b/src/vty/command.c</span><br><span>index 4952567..3370a6a 100644</span><br><span>--- a/src/vty/command.c</span><br><span>+++ b/src/vty/command.c</span><br><span>@@ -654,6 +654,10 @@</span><br><span>     *      "Brief but meaningful description", */</span><br><span>     [OSMO_SCCP_LIB_ATTR_RSTRT_ASP] = \</span><br><span>           "This command applies on ASP restart",</span><br><span style="color: hsl(120, 100%, 40%);">+      [OSMO_ABIS_LIB_ATTR_IPA_NEW_LNK] = \</span><br><span style="color: hsl(120, 100%, 40%);">+          "This command applies on new IPA links",</span><br><span style="color: hsl(120, 100%, 40%);">+    [OSMO_ABIS_LIB_ATTR_LINE_UPD] = \</span><br><span style="color: hsl(120, 100%, 40%);">+             "This command applies on E1 line update",</span><br><span> };</span><br><span> </span><br><span> /* Flag letters of attributes shared between the lib commands.</span><br><span>@@ -661,6 +665,8 @@</span><br><span> static const char cmd_lib_attr_letters[32] = {</span><br><span>      /* [OSMO_LIBNAME_LIB_ATTR_ATTRNAME] =           'X', */</span><br><span>      [OSMO_SCCP_LIB_ATTR_RSTRT_ASP] =                'A',</span><br><span style="color: hsl(120, 100%, 40%);">+  [OSMO_ABIS_LIB_ATTR_IPA_NEW_LNK] =              'I',</span><br><span style="color: hsl(120, 100%, 40%);">+  [OSMO_ABIS_LIB_ATTR_LINE_UPD] =                 'L',</span><br><span> };</span><br><span> </span><br><span> /*</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/20481">change 20481</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/+/20481"/><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: I0efc57f2cb54798ba207ae6fef9af4771d96bfa9 </div>
<div style="display:none"> Gerrit-Change-Number: 20481 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>