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

Function _dm_get_message_reply

modules/aaa_diameter/dm_impl.c:2051–2059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2049}
2050
2051static int _dm_get_message_reply(struct dm_cond *cond, diameter_reply *rpl)
2052{
2053 LM_DBG("reply received, Result-Code: %d (%s)\n", cond->rpl.rc,
2054 cond->rpl.is_error ? "FAILURE" : "SUCCESS");
2055
2056 memcpy(rpl, &cond->rpl, sizeof *rpl);
2057 cond->rpl.json = NULL; /* also detach the data */
2058 return (cond->rpl.is_error?-1:0);
2059}
2060
2061int _dm_get_message_response(struct dm_cond *cond, char **rpl_avps)
2062{

Callers 1

dm_api_send_reqFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected