mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
res_sorcery_memory_cache: Backport to 13
Gerrit is complaining of conflicts when trying to create a patch series of all of the cherry-picked master commits, so I have instead squashed it all into one commit. ASTERISK-25067 #close Reported by: Matt Jordan Change-Id: I6dda90343fae24a75dc5beec84980024e8d61eb9
This commit is contained in:
committed by
Mark Michelson
parent
7ff1ac8797
commit
b74b071369
@@ -1290,6 +1290,15 @@ struct ast_sorcery_object_type *ast_sorcery_get_object_type(const struct ast_sor
|
||||
int ast_sorcery_is_object_field_registered(const struct ast_sorcery_object_type *object_type,
|
||||
const char *field_name);
|
||||
|
||||
/*!
|
||||
* \brief Get the module that has opened the provided sorcery instance.
|
||||
*
|
||||
* \param sorcery The sorcery instance
|
||||
*
|
||||
* \return The module
|
||||
*/
|
||||
const char *ast_sorcery_get_module(const struct ast_sorcery *sorcery);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user