[asterisk-dev] [Code Review] Add 'bitflags' IE payload type to events framework
Kevin Fleming
kpfleming at digium.com
Sat May 2 10:49:01 CDT 2009
> On 2009-05-02 10:46:43, Russell Bryant wrote:
> > /trunk/main/event.c, lines 414-420
> > <http://reviewboard.digium.com/r/242/diff/1/?file=4990#file4990line414>
> >
> > For event2, should this be ast_event_get_ie_bitflags() ? I know it will result in the same thing, though.
It should, can fix that before committing.
- Kevin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/242/#review759
-----------------------------------------------------------
On 2009-05-02 10:29:27, Kevin Fleming wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/242/
> -----------------------------------------------------------
>
> (Updated 2009-05-02 10:29:27)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> This adds a 'bitflags' IE payload type for events in the events framework; the payload is actually a 32-bit unsigned integer, but when matching payload values during subscription a bit-wise AND is used for the comparison instead of comparing the payload values.
>
>
> Diffs
> -----
>
> /trunk/main/event.c 191625
> /trunk/include/asterisk/event_defs.h 191625
> /trunk/include/asterisk/event.h 191625
>
> Diff: http://reviewboard.digium.com/r/242/diff
>
>
> Testing
> -------
>
> Compile testing only at this time.
>
>
> Thanks,
>
> Kevin
>
>
More information about the asterisk-dev
mailing list