MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / duplicate_rr

Function duplicate_rr

parser/parse_rr.c:338–341  ·  view source on GitHub ↗

* Duplicate a single rr_t structure or the whole list (based on * "first" param) using pkg_malloc */

Source from the content-addressed store, hash-verified

336 * "first" param) using pkg_malloc
337 */
338int duplicate_rr(rr_t** _new, rr_t* _r, int first)
339{
340 return do_duplicate_rr(_new, _r, 0, first);
341}
342
343
344/*

Callers

nothing calls this directly

Calls 1

do_duplicate_rrFunction · 0.85

Tested by

no test coverage detected