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

Function rtpp_get_nt_str_param

modules/rtpproxy/rtpproxy.c:2675–2684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2673
2674
2675static inline void rtpp_get_nt_str_param(str *param, str *val, int n)
2676{
2677 #define MAX_BUF 64
2678 static char buf[2][MAX_BUF];
2679
2680 val->s = buf[n];
2681 val->len = (param->len>MAX_BUF-1) ? MAX_BUF-1 : param->len;
2682 memcpy(val->s, param->s, val->len);
2683 val->s[val->len] = 0;
2684}
2685
2686static int rtpp_get_pv_str_dup(struct sip_msg *msg, pv_spec_t *spec, str *val,
2687 const char *what)

Callers 2

rtpproxy_offer_answer6_fFunction · 0.85
engage_rtp_proxy5_fFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected