This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/22771 )
Change subject: osmo_ss7: const-ify input arguments to osmo_ss7_as_has_asp()
......................................................................
osmo_ss7: const-ify input arguments to osmo_ss7_as_has_asp()
Change-Id: Id23d90ffea855680cd7d4a16b89e652eed0cf39f
---
M include/osmocom/sigtran/osmo_ss7.h
M src/osmo_ss7.c
2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/71/22771/1
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 2502407..2b4090e 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -344,8 +344,8 @@
int osmo_ss7_as_add_asp(struct osmo_ss7_as *as, const char *asp_name);
int osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name);
void osmo_ss7_as_destroy(struct osmo_ss7_as *as);
-bool osmo_ss7_as_has_asp(struct osmo_ss7_as *as,
- struct osmo_ss7_asp *asp);
+bool osmo_ss7_as_has_asp(const struct osmo_ss7_as *as,
+ const struct osmo_ss7_asp *asp);
bool osmo_ss7_as_active(const struct osmo_ss7_as *as);
bool osmo_ss7_as_tmode_compatible_xua(struct osmo_ss7_as *as, uint32_t m3ua_tmt);
void osmo_ss7_asp_disconnect(struct osmo_ss7_asp *asp);
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 7639c41..2753063 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1056,8 +1056,8 @@
* \param[in] as Application Server in which to look for \ref asp
* \param[in] asp Application Server Process to look for in \ref as
* \returns true in case \ref asp is part of \ref as; false otherwise */
-bool osmo_ss7_as_has_asp(struct osmo_ss7_as *as,
- struct osmo_ss7_asp *asp)
+bool osmo_ss7_as_has_asp(const struct osmo_ss7_as *as,
+ const struct osmo_ss7_asp *asp)
{
unsigned int i;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/22771
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Id23d90ffea855680cd7d4a16b89e652eed0cf39f
Gerrit-Change-Number: 22771
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210207/dc7b94e2/attachment.htm>