aboutsummaryrefslogtreecommitdiffstats
path: root/main/timing.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/timing.c')
-rw-r--r--main/timing.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/timing.c b/main/timing.c
index d15024b32..23d3cf8ee 100644
--- a/main/timing.c
+++ b/main/timing.c
@@ -205,6 +205,11 @@ unsigned int ast_timer_get_max_rate(const struct ast_timer *handle)
return res;
}
+const char *ast_timer_get_name(const struct ast_timer *handle)
+{
+ return handle->holder->iface->name;
+}
+
static char *timing_test(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
struct ast_timer *timer;