mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user