Skip to content
Success

Changes

Summary

  1. mgcp_endp: Add helpers accessing endp connections (details)
Commit f9046ac438e15507a6da8fcd8e31c74f32442c9d by Pau Espin Pedrol
mgcp_endp: Add helpers accessing endp connections

This has several benefits:
* easily improving/changing the impelemntation later on (eg. by storing
  a count instead of iterating the whole list).
* Remove code complexity from mgcp_protocol.c.

Change-Id: I77c298abf0a1488b91f58c9e76507ef8add0168e
The file was modifiedsrc/libosmo-mgcp/mgcp_endp.c
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c
The file was modifiedinclude/osmocom/mgcp/mgcp_endp.h