[Asterisk-code-review] pbx: Create pbx include.c for management of 'struct ast incl... (asterisk[master])

Corey Farrell asteriskteam at digium.com
Thu Jul 14 14:34:26 CDT 2016


Hello Anonymous Coward #1000019,

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

    https://gerrit.asterisk.org/3207

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

Change subject: pbx: Create pbx_include.c for management of 'struct ast_include'.
......................................................................

pbx: Create pbx_include.c for management of 'struct ast_include'.

This changes context includes from a linked list to a vector, makes
'struct ast_include' opaque to pbx.c.

Although ast_walk_context_includes is maintained the procedure is no
longer efficient except for the first call (inc==NULL).  I'm unsure the
best approach to efficiently provide this functionality as it would
require an API change.

Change-Id: Ib5c882e27cf96fb2aec67a39c18b4c71c9c83b60
---
M main/pbx.c
A main/pbx_include.c
M main/pbx_private.h
3 files changed, 208 insertions(+), 122 deletions(-)


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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib5c882e27cf96fb2aec67a39c18b4c71c9c83b60
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019



More information about the asterisk-code-review mailing list