[asterisk-dev] [Code Review] Remove global module flag from app_voicemail.

Matt Jordan reviewboard at asterisk.org
Wed Jun 6 17:39:22 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1965/#review6394
-----------------------------------------------------------



/certified/branches/1.8.11/include/asterisk/app.h
<https://reviewboard.asterisk.org/r/1965/#comment11979>

    This is a bit different then how we normally handle lists in structs, as its not really a single list of snapshots, but rather an array of lists, where the length of the array is equal to the number of folders.
    
    That probably should be documented on the struct.



/certified/branches/1.8.11/include/asterisk/app.h
<https://reviewboard.asterisk.org/r/1965/#comment11978>

    Blob


- Matt


On June 5, 2012, 12:58 p.m., Jason Parker wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1965/
> -----------------------------------------------------------
> 
> (Updated June 5, 2012, 12:58 p.m.)
> 
> 
> Review request for Asterisk Developers and Mark Michelson.
> 
> 
> Summary
> -------
> 
> This causes app_voicemail to register functions that were previously global, in the same way that other functions are already registered.
> 
> The API changes a bit, but callers will only need to make a minor change, as the number of folders is no longer static.
> 
> 
> Diffs
> -----
> 
>   /certified/branches/1.8.11/apps/app_voicemail.c 368244 
>   /certified/branches/1.8.11/include/asterisk/app.h 368244 
>   /certified/branches/1.8.11/include/asterisk/app_voicemail.h 368244 
>   /certified/branches/1.8.11/main/app.c 368244 
>   /certified/branches/1.8.11/tests/test_voicemail_api.c 368244 
> 
> Diff: https://reviewboard.asterisk.org/r/1965/diff
> 
> 
> Testing
> -------
> 
> It compiles, and functions can be called the same way they are today.
> 
> 
> Thanks,
> 
> Jason
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120606/fc295baa/attachment-0001.htm>


More information about the asterisk-dev mailing list