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

Function w_mq_size

modules/mqueue/mqueue_mod.c:210–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210static int w_mq_size(struct sip_msg *msg, str *mq_val)
211{
212 int ret;
213
214 ret = _mq_get_csize(mq_val);
215
216 if(ret < 0)
217 LM_ERR("mqueue %.*s not found\n", mq_val->len, mq_val->s);
218 if(ret <= 0)
219 ret--;
220
221 return ret;
222}
223
224static int w_mq_add(struct sip_msg *msg, str *mq, str *key, str *val)
225{

Callers

nothing calls this directly

Calls 1

_mq_get_csizeFunction · 0.85

Tested by

no test coverage detected