From c0d9a6c083aa7e35174093c7a7265319bf993a9d Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 9 Mar 2016 12:29:23 +0100 Subject: Add helper function to convert numerical BSSGP PDU type to string --- include/osmocom/gprs/gprs_bssgp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/osmocom/gprs') 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); -- cgit v1.2.3