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

Function dm_get_async_msg

modules/aaa_diameter/aaa_diameter.c:475–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473};
474
475static struct dm_async_msg *dm_get_async_msg(pv_spec_t *rpl_avps_pv, struct dm_cond *cond)
476{
477 struct dm_async_msg *msg = pkg_malloc(sizeof *msg);
478 if (!msg)
479 return NULL;
480 memset(msg, 0, sizeof *msg);
481 msg->ret = rpl_avps_pv;
482 msg->cond = cond;
483 dm_cond_ref(cond);
484 return msg;
485}
486
487static void dm_free_sync_msg(struct dm_async_msg *amsg)
488{

Callers 1

dm_send_request_asyncFunction · 0.85

Calls 1

dm_cond_refFunction · 0.85

Tested by

no test coverage detected