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

Function pv_get_context

pvar.c:6076–6090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6074}
6075
6076static pv_context_t* pv_get_context(const str* name)
6077{
6078 pv_context_t* pvc = pv_context_lst;
6079
6080 while(pvc)
6081 {
6082 if(pvc->name.len == name->len &&
6083 strncmp(pvc->name.s, name->s, name->len) == 0)
6084 {
6085 return pvc;
6086 }
6087 pvc = pvc->next;
6088 }
6089 return 0;
6090}
6091
6092static int pv_contextlist_check(void)
6093{

Callers 2

pv_parse_specFunction · 0.85
register_pv_contextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected