[sr-dev] [kamailio/kamailio] define flag_t as unsigned long (#1288)
juha-h
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.
-- Juha
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1288#issuecomment-340397304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171030/b764e0f6/attachment-0001.html>
More information about the sr-dev
mailing list