]> git.ipfire.org Git - thirdparty/asterisk.git/commit
options: Change ast_options from ast_flags to ast_flags64. master
authorGeorge Joseph <gjoseph@sangoma.com>
Mon, 21 Jul 2025 19:12:40 +0000 (13:12 -0600)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 30 Jul 2025 16:04:01 +0000 (16:04 +0000)
commit43bf8a4ded7a65203b766b91eaf8331a600e9d8d
tree40200d18767b610a5f7d6326571f8d153c7226be
parent3e178dcfd6073e0e0e5c64da8f3b55f3067f9214
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