Also added a function called by the three "*_serialize_fields" to reduce code duplication.
The interface is not modified.
#### Type Of Change - [x] New feature (non-breaking change which adds new functionality)
#### Checklist: - [x] Tested changes locally
#### Description Small pull request that adds a function "xavu_serialize_fields" (with same interface as "xavp_serialize_fields" and "xavi_serialize_fields"), and an internal helper function to reduce code duplication.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2603
-- Commit Summary --
* core: added xavu_serialize_fields function
-- File Changes --
M src/core/xavp.c (91) M src/core/xavp.h (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2603.patch https://github.com/kamailio/kamailio/pull/2603.diff