Skip to content
Success

Changes

Summary

  1. mgw: constify mgcp_endp_avail() param (details)
  2. mgcp_endp: Add helpers accessing endp connections (details)
  3. mgw: mgcp_protocol: assert freeing last conn allows creating new conn (details)
  4. mgw: Split conn mode parsing and applying into conn (details)
  5. mgw: CRCXMDCX/DLCX: rename conn and conn_rtp variables (details)
  6. mgw: Use bool instead of int in local var (details)
Commit 5c7b128166cf06c7d220bf7c8524072ce6729c55 by Pau Espin Pedrol
mgw: constify mgcp_endp_avail() param

Change-Id: I31ed2f3abbcf024ee44f62e130dd4ec01611ae97
The file was modifiedinclude/osmocom/mgcp/mgcp_endp.h
The file was modifiedsrc/libosmo-mgcp/mgcp_endp.c
Commit e6bafbf3e32584cc73bc22bb0af98ee92d8c54a3 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 modifiedinclude/osmocom/mgcp/mgcp_endp.h
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c
Commit b5a4f45dbf1c10f99c0f277ca10e59ff12914d06 by Pau Espin Pedrol
mgw: mgcp_protocol: assert freeing last conn allows creating new conn

Change-Id: Ib8c9089a7f04bc67e5bdfb1148cfc603f0e17bb7
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c
Commit 3bc9d53628eb95a3eb0e1a0bda1fb1b06d1c3c72 by Pau Espin Pedrol
mgw: Split conn mode parsing and applying into conn

Change-Id: I456843de0be1997802905873c057a83430327f50
The file was modifiedsrc/libosmo-mgcp/mgcp_msg.c
The file was modifiedinclude/osmocom/mgcp/mgcp_conn.h
The file was modifiedsrc/libosmo-mgcp/mgcp_conn.c
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c
The file was modifiedinclude/osmocom/mgcp/mgcp_msg.h
The file was modifiedinclude/osmocom/mgcp/mgcp_protocol.h
Commit 732d595a26f34114afaaa81e256b6d0694a75d56 by Pau Espin Pedrol
mgw: CRCXMDCX/DLCX: rename conn and conn_rtp variables

It's currently difficult to gasp whether a pointer is a conn or a
conn_rtp, so rename it.

Change-Id: I75ba9969af53d3e386c4070eb15de27e7378bfdc
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c
Commit 9221b67f3ba56ec92edbb67d9256c910d1093ab8 by Pau Espin Pedrol
mgw: Use bool instead of int in local var

Change-Id: Ie46cb2909da2ec4279e1029cfaf7747c45f84b13
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c