]> 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)
commit724e28e4182873ce0ad4a8cf034a0edf1a5bf8ad
tree60b3f83bf737b0ea5d46a85ce117556cec43d8fb
parentdf7fa2d1fdc01a92bf9c0c891a3e7909ef2a2ea6
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