summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/timing.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/timing.h b/include/asterisk/timing.h
index 7973f365f..3f4da48ef 100644
--- a/include/asterisk/timing.h
+++ b/include/asterisk/timing.h
@@ -216,6 +216,16 @@ enum ast_timer_event ast_timer_get_event(const struct ast_timer *handle);
*/
unsigned int ast_timer_get_max_rate(const struct ast_timer *handle);
+/*!
+ * \brief Get name of timer in use
+ *
+ * \param handle timer handle returned by timer_open()
+ *
+ * \return name of timer
+ * \since 1.6.2
+ */
+const char *ast_timer_get_name(const struct ast_timer *handle);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif