gsup: Add osmo_gsup_get_err_msg_type() function

This function can be used to resolve the error message type for
a given message type.  Can be used by generic error handlers that
work for any incoming message type.

Change-Id: Ic637bec53dd7fe3ec83da99b49b4eae34d5602b2
diff --git a/include/osmocom/gsm/gsup.h b/include/osmocom/gsm/gsup.h
index dd27493..e246639 100644
--- a/include/osmocom/gsm/gsup.h
+++ b/include/osmocom/gsm/gsup.h
@@ -213,5 +213,6 @@
 int osmo_gsup_decode(const uint8_t *data, size_t data_len,
 		     struct osmo_gsup_message *gsup_msg);
 int osmo_gsup_encode(struct msgb *msg, const struct osmo_gsup_message *gsup_msg);
+int osmo_gsup_get_err_msg_type(enum osmo_gsup_message_type type_in);
 
 /*! @} */