diff options
author | zuul <zuul@gerrit.asterisk.org> | 2017-02-22 11:40:02 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-02-22 11:40:02 -0600 |
commit | 6c22d4b32012af7596bfcc29a95f9ca19a80b392 (patch) | |
tree | 9293754c7fc2d4848c2139792cd2fed78200a284 /include/asterisk | |
parent | 10302fa63ffa97f1db90d2fc90480095e12ac468 (diff) | |
parent | f58aefba5be6ab8ada6899ff50c6148830032814 (diff) |
Merge "core: Show streams in "core show channel"."
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/stream.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/stream.h b/include/asterisk/stream.h index edb00b9eb..48ee88322 100644 --- a/include/asterisk/stream.h +++ b/include/asterisk/stream.h @@ -191,6 +191,17 @@ enum ast_stream_state ast_stream_get_state(const struct ast_stream *stream); void ast_stream_set_state(struct ast_stream *stream, enum ast_stream_state state); /*! + * \brief Convert the state of a stream into a string + * + * \param state The stream state + * + * \return The state of the stream in string format + * + * \since 15 + */ +const char *ast_stream_state2str(enum ast_stream_state state); + +/*! * \brief Get the position of the stream in the topology * * \param stream The media stream |