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

Function map_first

map.c:537–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537int map_first( map_t map, map_iterator_t * it)
538{
539 if( map == NULL || it == NULL )
540 return -1;
541
542 it->map = map;
543
544 it->node = map->avl_root;
545
546 if( it->node )
547 {
548 while( it->node->avl_link[0] )
549 it->node = it->node->avl_link[0];
550 }
551
552 return 0;
553}
554
555
556int map_last( map_t map, map_iterator_t * it)

Callers 15

__get_avp_nameFunction · 0.85
map_remove_tls_domFunction · 0.85
sort_map_dom_arraysFunction · 0.85
_remove_ip_portFunction · 0.85
mi_usrloc_dumpFunction · 0.85
receive_sync_requestFunction · 0.85
print_udomainFunction · 0.85
get_domain_mem_ucontactsFunction · 0.85
get_ucontact_from_idFunction · 0.85
mem_timer_udomainFunction · 0.85
rl_timerFunction · 0.85
rl_broadcastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected