[Asterisk-Dev] Patching flags to bitfield structs

Kevin P. Fleming kpfleming at starnetworks.us
Thu Jan 20 08:45:59 MST 2005


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.



More information about the asterisk-dev mailing list