[Asterisk-code-review] core: Add PARSE TIMELEN support to ast parse arg and ACO. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Thu Jul 13 10:47:12 CDT 2017


Hello Jenkins2, George Joseph, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/6010

to look at the new patch set (#2).

Change subject: core: Add PARSE_TIMELEN support to ast_parse_arg and ACO.
......................................................................

core: Add PARSE_TIMELEN support to ast_parse_arg and ACO.

This adds support for parsing timelen values from config files.  This
includes support for all flags which apply to PARSE_INT32.  Support for
this parser is added to ACO via the OPT_TIMELEN_T option type.

Fixes an issue where extra characters provided to ast_app_parse_timelen
were ignored, they now cause an error.

Testing is included.

ASTERISK-27117 #close

Change-Id: I6b333feca7e3f83b4ef5bf2636fc0fd613742554
---
M UPGRADE.txt
M configs/samples/config_test.conf.sample
M include/asterisk/config.h
M include/asterisk/config_options.h
M main/app.c
M main/config.c
M main/config_options.c
M tests/test_config.c
8 files changed, 233 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/10/6010/2
-- 
To view, visit https://gerrit.asterisk.org/6010
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6b333feca7e3f83b4ef5bf2636fc0fd613742554
Gerrit-Change-Number: 6010
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170713/800b8646/attachment.html>


More information about the asterisk-code-review mailing list