[Asterisk-code-review] strings/json: Add string delimter match, and object create with vars ... (asterisk[18])

Kevin Harwell asteriskteam at digium.com
Mon Oct 25 12:23:04 CDT 2021


Attention is currently required from: Kevin Harwell.
Hello Joshua Colp, George Joseph, Friendly Automation, 

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

    https://gerrit.asterisk.org/c/asterisk/+/16641

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

Change subject: strings/json: Add string delimter match, and object create with vars methods
......................................................................

strings/json: Add string delimter match, and object create with vars methods

Add a function to check if there is an exact match a one string between
delimiters in another string.

Add a function that will create an ast_json object out of a list of
Asterisk variables. An excludes string can also optionally be passed
in.

Also, add a macro to make it easier to get object integers.

Change-Id: I5f34f18e102126aef3997f19a553a266d70d6226
---
M include/asterisk/json.h
M include/asterisk/strings.h
M main/json.c
M main/strings.c
M tests/test_json.c
M tests/test_strings.c
6 files changed, 250 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/41/16641/3
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16641
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: I5f34f18e102126aef3997f19a553a266d70d6226
Gerrit-Change-Number: 16641
Gerrit-PatchSet: 3
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211025/ff8d705d/attachment.html>


More information about the asterisk-code-review mailing list