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

Function process_all

map.c:511–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509void process_all( map_t tree, struct avl_node *p, process_each_func f, void * param );
510
511void process_all( map_t tree, struct avl_node *p, process_each_func f, void * param )
512{
513 if( tree->ret_code )
514 return;
515
516 if( p->avl_link[0] )
517 process_all( tree, p->avl_link[0], f ,param );
518
519 tree->ret_code |= f( param, p->key, p->val);
520
521 if( p->avl_link[1] )
522 process_all( tree, p->avl_link[1], f ,param );
523}
524
525int map_for_each( map_t tree, process_each_func f, void * param)
526{

Callers 1

map_for_eachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected