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

Function rtpengine_api_copy_deserialize

modules/rtpengine/rtpengine.c:5326–5337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5324}
5325
5326static int rtpengine_api_copy_deserialize(void **_ctx, bin_packet_t *packet)
5327{
5328 str to_tag;
5329 if (bin_pop_str(packet, &to_tag) < 0 || to_tag.len == 0)
5330 return -1;
5331
5332 *_ctx = rtpengine_new_subs(&to_tag);
5333 if (*_ctx == NULL)
5334 return -1;
5335 else
5336 return 1;
5337}
5338
5339static void rtpengine_api_copy_release(void **ctx)
5340{

Callers

nothing calls this directly

Calls 2

bin_pop_strFunction · 0.85
rtpengine_new_subsFunction · 0.85

Tested by

no test coverage detected