<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13181">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">slotmap: Add "DELETE_REQ" state<br><br>Change-Id: I953e72e304d6403b2e47f7546a36abfdf246e44b<br>---<br>M src/slotmap.c<br>M src/slotmap.h<br>2 files changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/81/13181/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/slotmap.c b/src/slotmap.c</span><br><span>index 12d7777..a8874fb 100644</span><br><span>--- a/src/slotmap.c</span><br><span>+++ b/src/slotmap.c</span><br><span>@@ -17,6 +17,7 @@</span><br><span>         { SLMAP_S_NEW,                  "NEW" },</span><br><span>   { SLMAP_S_UNACKNOWLEDGED,       "UNACKNOWLEDGED" },</span><br><span>        { SLMAP_S_ACTIVE,               "ACTIVE" },</span><br><span style="color: hsl(120, 100%, 40%);">+ { SLMAP_S_DELETE_REQ,           "DELETE_REQ" },</span><br><span>    { SLMAP_S_DELETING,             "DELETING" },</span><br><span>      { 0, NULL }</span><br><span> };</span><br><span>diff --git a/src/slotmap.h b/src/slotmap.h</span><br><span>index af08a81..5d3d891 100644</span><br><span>--- a/src/slotmap.h</span><br><span>+++ b/src/slotmap.h</span><br><span>@@ -36,7 +36,8 @@</span><br><span>       SLMAP_S_NEW,            /* created; not yet sent to bankd */</span><br><span>         SLMAP_S_UNACKNOWLEDGED, /* created + sent to bankd but not yet acknowledge by bankd */</span><br><span>       SLMAP_S_ACTIVE,         /* fully active map; acknowledged by bankd */</span><br><span style="color: hsl(0, 100%, 40%);">-   SLMAP_S_DELETING,       /* we were asked to delete it; bankd hasn't confirmed yet */</span><br><span style="color: hsl(120, 100%, 40%);">+      SLMAP_S_DELETE_REQ,     /* fully active map; REST has requested deletion */</span><br><span style="color: hsl(120, 100%, 40%);">+   SLMAP_S_DELETING,       /* RSPRO has issued Remove to bankd, but bankd hasn't confirmed yet */</span><br><span> };</span><br><span> extern const struct value_string slot_map_state_name[];</span><br><span> static inline const char *slotmap_state_name(enum slot_mapping_state st)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13181">change 13181</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/13181"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-remsim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I953e72e304d6403b2e47f7546a36abfdf246e44b </div>
<div style="display:none"> Gerrit-Change-Number: 13181 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>