summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-05-16 19:02:50 -0300
committerMark Michelson <mmichelson@digium.com>2015-07-09 08:56:35 -0500
commitb74b07136973b2c753acff02f6e88326de7a5ef0 (patch)
treef329c564aff2ead09bbc9efec94da89a8751b4fc /main
parent7ff1ac8797a479ae5416d7c51a761552ecde011e (diff)
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
Diffstat (limited to 'main')
-rw-r--r--main/sorcery.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/sorcery.c b/main/sorcery.c
index af812ade2..8e48403d9 100644
--- a/main/sorcery.c
+++ b/main/sorcery.c
@@ -2356,3 +2356,8 @@ int ast_sorcery_is_object_field_registered(const struct ast_sorcery_object_type
ao2_cleanup(object_field);
return res;
}
+
+const char *ast_sorcery_get_module(const struct ast_sorcery *sorcery)
+{
+ return sorcery->module_name;
+}