diff options
author | Max <msuraev@sysmocom.de> | 2018-11-09 15:41:35 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-11-19 05:50:13 +0000 |
commit | 8d0343872ecd53e9a9e31984d6588c06e076cb8e (patch) | |
tree | 903aaeaf06e888ec4ed4db5c7da2f8a425536827 /include/osmocom/sigtran | |
parent | b5188f01691d0ff8ae1289479ea26454edeac45f (diff) |
Make pointcode width function public
That's useful for external programs veryfying pointcode validity. For
example if used as part of BSS-related identity in GCR construction by
LCLS code we should be able to double.check that no significant bits off
pointcode are lost/ignored.
Change-Id: I5a9981dd2c1d78966c61a3f6b50c7c0d9b542caf
Diffstat (limited to 'include/osmocom/sigtran')
-rw-r--r-- | include/osmocom/sigtran/osmo_ss7.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h index 414606a..a97e236 100644 --- a/include/osmocom/sigtran/osmo_ss7.h +++ b/include/osmocom/sigtran/osmo_ss7.h @@ -113,6 +113,8 @@ int osmo_ss7_bind_all_instances(); struct osmo_sccp_instance *osmo_ss7_ensure_sccp(struct osmo_ss7_instance *inst); +uint8_t osmo_ss7_pc_width(const struct osmo_ss7_pc_fmt *pc_fmt); + /*********************************************************************** * MTP Users (Users of MTP, such as SCCP or ISUP) ***********************************************************************/ |