[OpenSIPS-Devel] [opensips] dispatcher: add ds_list full mi command, update documentation (#748)

Bogdan Andrei IANCU notifications at github.com
Mon Jan 11 10:41:21 CET 2016


> @@ -1365,7 +1377,7 @@ static struct mi_root* ds_mi_list(struct mi_root* cmd_tree, void* param)
>  				9, part_it->name.s, part_it->name.len);
>  
>  		if (part_node == NULL
> -			|| ds_print_mi_list(part_node, part_it) < 0) {
> +			|| ds_print_mi_list(part_node, part_it, explicit) < 0) {

as third param of ds_print_mi_list() is a bitmask, use here the predefined flags as macro (see the other comment). Maybe "explicit" is not the best name - better use a "flag" variable to collect through the code all the flags you want to pass to ds_print_mi_list(). 

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/748/files#r49302430
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160111/4df0bc9a/attachment.htm>


More information about the Devel mailing list