[asterisk-dev] Re: [svn-commits] file: branch file/zaptel-firmware r1814 - in /team/file/zaptel-firmware: ./ b...

Russell Bryant russell at digium.com
Tue Jan 16 15:05:28 MST 2007


Kevin P. Fleming wrote:
>> This is why I don't like XML files: you can't really easily merge two
>> real XML files into one.
> 
> The proper way to fix this for the future is to enhance menuselect so
> that it can read multiple input files.

The code is already set up to do it, it just needs to be made a 
parameter, instead of hard coded.  The top of menuselect.c has:

static const char * const tree_files[] = {
	"menuselect-tree"
};

If you add more files there, they will be parsed and handled normally.



More information about the asterisk-dev mailing list