[Asterisk-code-review] utils: Refactor ast_str CURLOPT_WRITEFUNCTION callback. (asterisk[20])

N A asteriskteam at digium.com
Thu Dec 22 15:52:58 CST 2022


Hello Friendly Automation, 

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

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

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

Change subject: utils: Refactor ast_str CURLOPT_WRITEFUNCTION callback.
......................................................................

utils: Refactor ast_str CURLOPT_WRITEFUNCTION callback.

This makes a callback function used to retrieve cURL
responses in an ast_str available publicly in utils.h,
so that modules can avoid duplicating this callback
function.

ASTERISK-30360 #close

Change-Id: Ib804ada46b345b2281062769affb1ea5a7a4249c
---
M include/asterisk/utils.h
M main/utils.c
M tests/test_res_prometheus.c
3 files changed, 33 insertions(+), 21 deletions(-)


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

Gerrit-Project: asterisk
Gerrit-Branch: 20
Gerrit-Change-Id: Ib804ada46b345b2281062769affb1ea5a7a4249c
Gerrit-Change-Number: 19737
Gerrit-PatchSet: 3
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221222/c8db3cbb/attachment-0001.html>


More information about the asterisk-code-review mailing list