Change in libosmocore[master]: gsm0808_utils: Add gsm0808_get_cipher_reject_cause() back with a depr...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

ipse gerrit-no-reply at lists.osmocom.org
Wed May 13 19:38:46 UTC 2020


ipse has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/18242 )


Change subject: gsm0808_utils: Add gsm0808_get_cipher_reject_cause() back with a deprecation notice.
......................................................................

gsm0808_utils: Add gsm0808_get_cipher_reject_cause() back with a deprecation notice.

Change-Id: I9fbcbcc6619ef0c63d3682fc86adc80045baab02
---
M include/osmocom/gsm/gsm0808_utils.h
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/42/18242/1

diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h
index a8852e4..59db6ed 100644
--- a/include/osmocom/gsm/gsm0808_utils.h
+++ b/include/osmocom/gsm/gsm0808_utils.h
@@ -155,6 +155,9 @@
 	return (cause & 0x80) && !(cause & 0x0F);
 }
 
+int gsm0808_get_cipher_reject_cause(const struct tlv_parsed *tp)
+OSMO_DEPRECATED("Use gsm0808_get_cause() instead");
+
 /*! \returns 3GPP TS 48.008 3.2.2.49 Current Channel Type 1 from enum gsm_chan_t. */
 static inline uint8_t gsm0808_current_channel_type_1(enum gsm_chan_t type)
 {

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/18242
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I9fbcbcc6619ef0c63d3682fc86adc80045baab02
Gerrit-Change-Number: 18242
Gerrit-PatchSet: 1
Gerrit-Owner: ipse <Alexander.Chemeris at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200513/9cc4a942/attachment.htm>


More information about the gerrit-log mailing list