diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-25 22:56:18 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-25 22:56:18 +0000 |
commit | 757aadd53d3f0334f03d4872a7dbdd2258c8d09c (patch) | |
tree | fbd26c63149113f1251a6f1c2c001a7a737c2ea9 /include | |
parent | 1c3fb6124c461a6b424c21c2e5bfc3992b40609b (diff) |
use CDR API calls instead of re-implementing them (bug #4726)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6213 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/cdr.h | 6 |
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 |