summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-11-09 15:41:35 +0100
committerHarald Welte <laforge@gnumonks.org>2018-11-19 05:50:13 +0000
commit8d0343872ecd53e9a9e31984d6588c06e076cb8e (patch)
tree903aaeaf06e888ec4ed4db5c7da2f8a425536827 /include
parentb5188f01691d0ff8ae1289479ea26454edeac45f (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')
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h2
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)
***********************************************************************/