]> 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)
committerBen Ford <bford@sangoma.com>
Thu, 10 Jul 2025 15:44:35 +0000 (10:44 -0500)
commit335f45f489b77c2e6262361a0ea6a37a5fac15e7
tree2297f119add32f8dbbf52c4a476864b867d21891
parentdde405c06706f19191ee4483d40c84341185a2ef
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