summaryrefslogtreecommitdiff
path: root/include/asterisk/frame.h
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-07-28 18:59:59 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-07-28 18:59:59 +0000
commit3314ea0d59e6372b05034d6a43aa8ef848999b74 (patch)
treecc434c7447968461b0272d46631fd26fc0e9247a /include/asterisk/frame.h
parent48c09ef517816b94a4054aa3f0636e3f17126d65 (diff)
move slinfactory structure definition back to header... it's just easier to use this way
add infrastructure for whispering onto a channel git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/frame.h')
-rw-r--r--include/asterisk/frame.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index ab9cb1b8c..35cd30ac6 100644
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -354,7 +354,7 @@ struct ast_frame *ast_fralloc(char *source, int len);
*/
void ast_frfree(struct ast_frame *fr);
-/*! \brief Copies a frame
+/*! \brief Makes a frame independent of any static storage
* \param fr frame to act upon
* Take a frame, and if it's not been malloc'd, make a malloc'd copy
* and if the data hasn't been malloced then make the
@@ -366,10 +366,10 @@ struct ast_frame *ast_frisolate(struct ast_frame *fr);
/*! \brief Copies a frame
* \param fr frame to copy
- * Dupliates a frame -- should only rarely be used, typically frisolate is good enough
+ * Duplicates a frame -- should only rarely be used, typically frisolate is good enough
* \return Returns a frame on success, NULL on error
*/
-struct ast_frame *ast_frdup(struct ast_frame *fr);
+struct ast_frame *ast_frdup(const struct ast_frame *fr);
/*! \brief Reads a frame from an fd
* Read a frame from a stream or packet fd, as written by fd_write