]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 30 Jul 2025 16:03:56 +0000 (16:03 +0000)
commit709be42bc302fefa243c8c523daf3c40e19c6af3
tree316a47f0dbe87a2867e499d33053fa96e30ea16a
parentdfe25fbc8a11c99980bdaf8d9a3960643fad7768
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.
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