]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channelstorage: Rename callbacks that conflict with DEBUG_FD_LEAKS.
authorGeorge Joseph <gjoseph@sangoma.com>
Tue, 8 Jul 2025 11:42:51 +0000 (05:42 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 17:40:37 +0000 (11:40 -0600)
commit608e48af8d7ab0b195898e2716a47af907c2cb2f
treefd5255800f0a0b31388db90b9f112978b5b347a0
parent423d0f59d4b21afed8fc50083f52488c66eb56a3
channelstorage: Rename callbacks that conflict with DEBUG_FD_LEAKS.

DEBUG_FD_LEAKS replaces calls to "open" and "close" with functions that keep
track of file descriptors, even when those calls are actually callbacks
defined in structures like ast_channelstorage_instance->open and don't touch
file descriptors.  This causes compilation failures.  Those callbacks
have been renamed to "open_instance" and "close_instance" respectively.

Resolves: #1287
main/channelstorage.c
main/channelstorage.h
main/channelstorage_ao2_legacy.c
main/channelstorage_cpp_map_name_id.cc