[sr-dev] [kamailio/kamailio] define flag_t as unsigned long (#1288)
notifications at github.com
Mon Oct 30 11:00:56 CET 2017
Daniel-Constantin Mierla writes:
> This has implications on other parts, such as variables where they can
> be accessed and set via $mf (iirc).
Other parts of the code should not assume anything about the actual
length of flag_t. If they do, that code needs to be fixed.
> As an alternative for now would be using an avp or xavps, and do
> bitwise operations (`|` and `&`) to set or test.
Use of avps for storing bit flags is too slow.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-dev