summaryrefslogtreecommitdiff
path: root/include/asterisk/cdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/cdr.h')
-rwxr-xr-xinclude/asterisk/cdr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index e9b8aad07..e42a4e690 100755
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -104,6 +104,12 @@ typedef int (*ast_cdrbe)(struct ast_cdr *cdr);
*/
extern struct ast_cdr *ast_cdr_alloc(void);
+/*! Duplicate a record */
+/*!
+ * Returns a malloc'd ast_cdr structure, returns NULL on error (malloc failure)
+ */
+extern struct ast_cdr *ast_cdr_dup(struct ast_cdr *cdr);
+
/*! Free a record */
/* \param cdr ast_cdr structure to free
* Returns nothing important