Change in libosmocore[master]: api doc: tweak gsm0808_cell_id_matches_list() doc

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Mar 4 22:10:17 UTC 2019


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/13120


Change subject: api doc: tweak gsm0808_cell_id_matches_list() doc
......................................................................

api doc: tweak gsm0808_cell_id_matches_list() doc

Change-Id: Ide94558d1c31356483252b83e04b061b4ee4d3bf
---
M src/gsm/gsm0808_utils.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/20/13120/1

diff --git a/src/gsm/gsm0808_utils.c b/src/gsm/gsm0808_utils.c
index 606899e..5477598 100644
--- a/src/gsm/gsm0808_utils.c
+++ b/src/gsm/gsm0808_utils.c
@@ -1559,7 +1559,8 @@
  * \param[in] list  Cell Identifier list to search in.
  * \param[in] match_nr  Ignore this many matches.
  * \param[in] exact_match  If true, consider as match only if the CELL_IDENT types and all values are identical.
- * \returns -1 if no match is found, list index if a match is found.
+ * \returns -1 if no match is found, list index if a match is found (i.e. rc == 0 means a match was found on the first
+ *           entry).
  */
 int gsm0808_cell_id_matches_list(const struct gsm0808_cell_id *id, const struct gsm0808_cell_id_list2 *list,
 				 unsigned int match_nr, bool exact_match)

-- 
To view, visit https://gerrit.osmocom.org/13120
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide94558d1c31356483252b83e04b061b4ee4d3bf
Gerrit-Change-Number: 13120
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190304/3889d459/attachment.htm>


More information about the gerrit-log mailing list