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

Kevin Harwell asteriskteam at digium.com
Fri Oct 22 17:06:16 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/+/16626

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

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, 210 insertions(+), 0 deletions(-)


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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I5f34f18e102126aef3997f19a553a266d70d6226
Gerrit-Change-Number: 16626
Gerrit-PatchSet: 2
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/20211022/4366b3c2/attachment.html>


More information about the asterisk-code-review mailing list