Skip to content
Success

Changes

Summary

  1. mgcp_endp: Add helpers accessing endp connections (details)
Commit 906fab2f616bee9ad109a63d49a5ec4b1fd0b33e 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_protocol.c
The file was modifiedinclude/osmocom/mgcp/mgcp_endp.h
The file was modifiedsrc/libosmo-mgcp/mgcp_endp.c