]> 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:52:59 +0000 (19:52 +0000)
commit0b7eb1d7474b995c14116426e2a6b2fd9ee49997
tree75ed9d7d064cfa2c96ffc96addba2e5341adf043
parenteca3e4aa84e3571c07311fd0a8bd34abf9ef4f99
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 d1a194596756250a68d5de8ab7dd805640be3558)
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