summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2017-02-16 13:24:30 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-02-16 13:24:30 -0600
commitab34e46b3a5ed53d3a28dfc7d38762691ddccf37 (patch)
tree5b7fd3ee985b494b6046aef2e70ba91def7017cc /include/asterisk
parent11da7b510643d116ea1f209330cff56b5ee6585a (diff)
parentf8f513d363fd10148976c592cbc8be860cda28ab (diff)
Merge "stream: Rename creates/destroys to allocs/frees"
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/stream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asterisk/stream.h b/include/asterisk/stream.h
index 9fb466013..edb00b9eb 100644
--- a/include/asterisk/stream.h
+++ b/include/asterisk/stream.h
@@ -84,7 +84,7 @@ enum ast_stream_state {
*
* \since 15
*/
-struct ast_stream *ast_stream_create(const char *name, enum ast_media_type type);
+struct ast_stream *ast_stream_alloc(const char *name, enum ast_media_type type);
/*!
* \brief Destroy a media stream representation
@@ -93,7 +93,7 @@ struct ast_stream *ast_stream_create(const char *name, enum ast_media_type type)
*
* \since 15
*/
-void ast_stream_destroy(struct ast_stream *stream);
+void ast_stream_free(struct ast_stream *stream);
/*!
* \brief Create a deep clone of an existing stream
@@ -209,7 +209,7 @@ int ast_stream_get_position(const struct ast_stream *stream);
*
* \since 15
*/
-struct ast_stream_topology *ast_stream_topology_create(void);
+struct ast_stream_topology *ast_stream_topology_alloc(void);
/*!
* \brief Create a deep clone of an existing stream topology
@@ -233,7 +233,7 @@ struct ast_stream_topology *ast_stream_topology_clone(
*
* \since 15
*/
-void ast_stream_topology_destroy(struct ast_stream_topology *topology);
+void ast_stream_topology_free(struct ast_stream_topology *topology);
/*!
* \brief Append a stream to the topology