diff options
author | Max <msuraev@sysmocom.de> | 2016-03-09 12:29:23 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-03-11 22:29:39 +0700 |
commit | c0d9a6c083aa7e35174093c7a7265319bf993a9d (patch) | |
tree | c313a21221f228ac5b7a3a4398087b60729abf20 /include/osmocom/gprs | |
parent | e859aec95264f0cda85073b03def63d8596b07a3 (diff) |
Add helper function to convert numerical BSSGP PDU type to string
Diffstat (limited to 'include/osmocom/gprs')
-rw-r--r-- | include/osmocom/gprs/gprs_bssgp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_bssgp.h b/include/osmocom/gprs/gprs_bssgp.h index c0b3f656..b70487ce 100644 --- a/include/osmocom/gprs/gprs_bssgp.h +++ b/include/osmocom/gprs/gprs_bssgp.h @@ -14,6 +14,7 @@ extern struct gprs_ns_inst *bssgp_nsi; struct msgb *bssgp_msgb_alloc(void); struct msgb *bssgp_msgb_copy(const struct msgb *msg, const char *name); const char *bssgp_cause_str(enum gprs_bssgp_cause cause); +const char *bssgp_pdu_str(enum bssgp_pdu_type pdu); /* Transmit a simple response such as BLOCK/UNBLOCK/RESET ACK/NACK */ int bssgp_tx_simple_bvci(uint8_t pdu_type, uint16_t nsei, uint16_t bvci, uint16_t ns_bvci); |