summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-07-25 22:56:18 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-07-25 22:56:18 +0000
commitf358db3d4385cc62b03f3707ee67526e9b531df9 (patch)
treefbd26c63149113f1251a6f1c2c001a7a737c2ea9 /include
parent307566933f2b5d6f5f9e600f8124336422dc906c (diff)
use CDR API calls instead of re-implementing them (bug #4726)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-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