pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43388?usp=email )
Change subject: xua_msg: Constify input xua_msg param
......................................................................
xua_msg: Constify input xua_msg param
Change-Id: I3641f9b2ab487ac32faa1872831ca249ce41ffb8
---
M src/xua_msg.c
M src/xua_msg.h
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran
refs/changes/88/43388/1
diff --git a/src/xua_msg.c b/src/xua_msg.c
index 690f0a6..2ec1497 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -535,7 +535,7 @@
return buf;
}
-int xua_dialect_check_all_ies(const struct xua_dialect *dialect, struct
xua_msg *xua)
+int xua_dialect_check_all_ies(const struct xua_dialect *dialect, const struct
xua_msg *xua)
{
uint8_t msg_class = xua->hdr.msg_class;
uint8_t msg_type = xua->hdr.msg_type;
diff --git a/src/xua_msg.h b/src/xua_msg.h
index 39249e2..3070435 100644
--- a/src/xua_msg.h
+++ b/src/xua_msg.h
@@ -125,7 +125,7 @@
const char *xua_class_iei_name(const struct xua_msg_class *xmc, uint16_t iei);
char *xua_hdr_dump(const struct xua_msg *xua, const struct xua_dialect
*dialect);
char *xua_msg_dump(const struct xua_msg *xua, const struct xua_dialect
*dialect);
-int xua_dialect_check_all_ies(const struct xua_dialect *dialect, struct
xua_msg *xua);
+int xua_dialect_check_all_ies(const struct xua_dialect *dialect, const struct
xua_msg *xua);
int xua_msg_event_map(const struct xua_msg *xua,
const struct xua_msg_event_map *maps,
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43388?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I3641f9b2ab487ac32faa1872831ca249ce41ffb8
Gerrit-Change-Number: 43388
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>