[Asterisk-cvs] asterisk/include/asterisk cdr.h,1.27,1.28
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Mon Jul 25 18:49:35 CDT 2005
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17688/include/asterisk
Modified Files:
cdr.h
Log Message:
use CDR API calls instead of re-implementing them (bug #4726)
Index: cdr.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/cdr.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- cdr.h 3 Jun 2005 01:42:31 -0000 1.27
+++ cdr.h 25 Jul 2005 22:56:18 -0000 1.28
@@ -104,6 +104,12 @@
*/
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
More information about the svn-commits
mailing list