]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 8 Jul 2025 15:22:45 +0000 (15:22 +0000)
commitd5bd2b3ce952e7e7e49a2b787ca16fe8ebe95bfe
tree70e1b92a7eb589dbbf31a197afd965c0dab930e0
parentb158011c4e1032e77a40fdefac67a79617ed5e8d
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