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

Function mq_pv_get

modules/mqueue/mqueue_api.c:214–226  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

212 *
213 */
214mq_pv_t *mq_pv_get(str *name)
215{
216 mq_pv_t *mp = NULL;
217
218 mp = _mq_pv_list;
219 while(mp != NULL) {
220 if(mp->name->len == name->len
221 && strncmp(mp->name->s, name->s, name->len) == 0)
222 return mp;
223 mp = mp->next;
224 }
225 return NULL;
226}
227
228/**
229 *

Callers 6

mq_head_fetchFunction · 0.85
mq_pv_freeFunction · 0.85
pv_get_mqkFunction · 0.85
get_mqkFunction · 0.85
get_mqvFunction · 0.85
pv_get_mqvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected