[Asterisk-code-review] loader: Create ast module running ref. (asterisk[master])

Corey Farrell asteriskteam at digium.com
Wed Jan 3 16:23:14 CST 2018


Hello Kevin Harwell, Jenkins2, 

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

    https://gerrit.asterisk.org/7770

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

Change subject: loader: Create ast_module_running_ref.
......................................................................

loader: Create ast_module_running_ref.

This function returns NULL if the module in question is not running.  I
did not change ast_module_ref as most callers do not check the result
and they always call ast_module_unref.

Make use of this function when running registered items from:
* app_stack API's
* bridge technologies
* CLI commands
* File formats
* Manager Actions
* RTP engines
* Sorcery Wizards
* Timing Interfaces
* Translators
* AGI Commands
* Fax Technologies

ASTERISK-20346 #close

Change-Id: Ia16fd28e188b2fc0b9d18b8a5d9cacc31df73fcc
---
M include/asterisk/module.h
M main/app.c
M main/bridge.c
M main/cli.c
M main/file.c
M main/loader.c
M main/manager.c
M main/rtp_engine.c
M main/sorcery.c
M main/timing.c
M main/translate.c
M res/res_agi.c
M res/res_fax.c
13 files changed, 161 insertions(+), 80 deletions(-)


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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia16fd28e188b2fc0b9d18b8a5d9cacc31df73fcc
Gerrit-Change-Number: 7770
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180103/a8c7d4c5/attachment-0001.html>


More information about the asterisk-code-review mailing list