]> 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>
Tue, 8 Jul 2025 15:22:39 +0000 (15:22 +0000)
commit93034831da9af328a0bc3a077ec23e8fb0eb536b
treec609ffd9dd96a2bb5e0a9a89058318e410d353ea
parent63e5b117ff02f1fbcfe2f187f8212a3b00ec9803
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