[Asterisk-Dev] Patching flags to bitfield structs

Rob Gagnon rob at networkip.net
Thu Jan 20 09:44:12 MST 2005


Kevin wrote

>  "...chan_sip would be the best candidate for conversion to bitfield-based 
> flags, instead of macro-based flags"
>

but the macros are there to manipulate the bitfields.  What am I missing?


----- Original Message ----- 
From: "Kevin P. Fleming" <kpfleming at starnetworks.us>
To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
Sent: Thursday, January 20, 2005 9:45 AM
Subject: Re: [Asterisk-Dev] Patching flags to bitfield structs


> Rob Gagnon wrote:
>> under which version of Asterisk are you talking?
>
> CVS HEAD
>
>> chan_sip.c for example in CVS is already full of "flagified" code  (using
>> the "flags" member of the structs)
>
> Right.
>
>> Do you mean to extend that? or are you reading old source code (pre 
>> 1.0.4)
>> that does not have that
>
> No, the point of my response was that chan_sip would be the best candidate 
> for conversion to bitfield-based flags, instead of macro-based flags.
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev 




More information about the asterisk-dev mailing list