<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9256">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_gmm: make extract_subscr_msisdn extract_subscr_hlr public<br><br>Change-Id: I54168e1a58dd36b38c53c13bbb5cdb4311f34410<br>---<br>M include/osmocom/sgsn/gprs_gmm.h<br>M src/gprs/gprs_gmm.c<br>2 files changed, 5 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/56/9256/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/sgsn/gprs_gmm.h b/include/osmocom/sgsn/gprs_gmm.h</span><br><span>index b89eff5..3c93efc 100644</span><br><span>--- a/include/osmocom/sgsn/gprs_gmm.h</span><br><span>+++ b/include/osmocom/sgsn/gprs_gmm.h</span><br><span>@@ -40,4 +40,7 @@</span><br><span>                               uint8_t gmm_cause);</span><br><span> int gsm48_tx_gmm_att_ack(struct sgsn_mm_ctx *mm);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/* TODO: move extract_subscr_* when gsm48_gmm_authorize() got removed */</span><br><span style="color: hsl(120, 100%, 40%);">+void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx);</span><br><span style="color: hsl(120, 100%, 40%);">+void extract_subscr_hlr(struct sgsn_mm_ctx *ctx);</span><br><span> #endif /* _GPRS_GMM_H */</span><br><span>diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c</span><br><span>index df498c1..57d3883 100644</span><br><span>--- a/src/gprs/gprs_gmm.c</span><br><span>+++ b/src/gprs/gprs_gmm.c</span><br><span>@@ -848,7 +848,7 @@</span><br><span>   return rc;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx)</span><br><span style="color: hsl(120, 100%, 40%);">+void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx)</span><br><span> {</span><br><span>      struct gsm_mncc_number called;</span><br><span>       uint8_t msisdn[sizeof(ctx->subscr->sgsn_data->msisdn) + 1];</span><br><span>@@ -879,7 +879,7 @@</span><br><span>   }</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void extract_subscr_hlr(struct sgsn_mm_ctx *ctx)</span><br><span style="color: hsl(120, 100%, 40%);">+void extract_subscr_hlr(struct sgsn_mm_ctx *ctx)</span><br><span> {</span><br><span>     struct gsm_mncc_number called;</span><br><span>       uint8_t hlr_number[sizeof(ctx->subscr->sgsn_data->hlr) + 1];</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9256">change 9256</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/9256"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I54168e1a58dd36b38c53c13bbb5cdb4311f34410 </div>
<div style="display:none"> Gerrit-Change-Number: 9256 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>