]> 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:38 +0000 (15:22 +0000)
commit838541d767e7645f94b725381cfe93af725ede14
tree4d8ddf218b8c742671af19fd70b370c7e10dcabb
parent9f5b5c3789028ef602350c4d2c3c5979e2391d20
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