]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stream.c: Added 2 more debugging utils and added pos to stream string
authorGeorge Joseph <gjoseph@digium.com>
Thu, 20 Aug 2020 13:32:03 +0000 (07:32 -0600)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 24 Aug 2020 12:46:39 +0000 (07:46 -0500)
commit393444fc205d1a2d8173735e133f22e07f228bf8
treee1baebbc1baa49b781e7ddeffb89699c52c02799
parentd491db4fe2e44d36bf2a7aec64adb3e0c6bbe78e
stream.c:  Added 2 more debugging utils and added pos to stream string

 * Added ast_stream_to_stra and ast_stream_topology_to_stra() macros
   which are shortcuts for
      ast_str_tmp(256, ast_stream_to_str(stream, &STR_TMP))

 * Added the stream position to the string representation of the
   stream.

 * Fixed some formatting in ast_stream_to_str().

Change-Id: Idaf4cb0affa46d4dce58a73a111f35435331cc4b
include/asterisk/stream.h
main/stream.c