Change in osmo-mgw[master]: mgcp_protocol: refactor request handler array

dexter gerrit-no-reply at lists.osmocom.org
Thu Jul 15 13:13:36 UTC 2021


Hello Jenkins Builder, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/c/osmo-mgw/+/24940

to look at the new patch set (#3).

Change subject: mgcp_protocol: refactor request handler array
......................................................................

mgcp_protocol: refactor request handler array

the various types of MGCP requests are implemented in request handlers
functions. The function pointers to those functions are held in an array
that is used to find the right handler and call it then. The struct used
to model the array is defined somewhat away from the array definition
and there is also a macro in between that does not help to make the code
more understandable. Lets refactor this a bit to have it more distinct.

Change-Id: I2ef167b2ac179d2b0683a27a095f9662fda460bf
Related: SYS#5535
---
M src/libosmo-mgcp/mgcp_protocol.c
1 file changed, 29 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/40/24940/3
-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/24940
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I2ef167b2ac179d2b0683a27a095f9662fda460bf
Gerrit-Change-Number: 24940
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210715/948a6dd8/attachment.htm>


More information about the gerrit-log mailing list