]> git.ipfire.org Git - thirdparty/asterisk.git/commit
options: Change ast_options from ast_flags to ast_flags64.
authorGeorge Joseph <gjoseph@sangoma.com>
Mon, 21 Jul 2025 19:12:40 +0000 (13:12 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:55:23 +0000 (19:55 +0000)
commitf97800f9ef22daf6eac464ce07ba05e9b7bc8993
tree592f223a00650b7987e2c3de79fd9031ea8b7eeb
parentd676259dbb33b01ebe0c7024568f8033646c2ad1
options:  Change ast_options from ast_flags to ast_flags64.

DeveloperNote: The 32-bit ast_options has no room left to accomodate new
options and so has been converted to an ast_flags64 structure. All internal
references to ast_options have been updated to use the 64-bit flag
manipulation macros.  External module references to the 32-bit ast_options
should continue to work on little-endian systems because the
least-significant bytes of a 64 bit integer will be in the same location as a
32-bit integer.  Because that's not the case on big-endian systems, we've
swapped the bytes in the flags manupulation macros on big-endian systems
so external modules should still work however you are encouraged to test.

(cherry picked from commit 724e28e4182873ce0ad4a8cf034a0edf1a5bf8ad)
13 files changed:
include/asterisk/options.h
include/asterisk/utils.h
main/asterisk.c
main/cli.c
main/loader.c
main/manager.c
main/options.c
main/pbx.c
main/plc.c
res/res_pjsip/pjsip_distributor.c
res/res_pjsip_mwi.c
res/res_pjsip_pubsub.c
utils/extconf.c