diff options
author | Eliel C. Sardanons <eliels@gmail.com> | 2010-07-08 14:48:42 +0000 |
---|---|---|
committer | Eliel C. Sardanons <eliels@gmail.com> | 2010-07-08 14:48:42 +0000 |
commit | a1b89a6a50ced1b1c66610d4741b8b1396ca6fc4 (patch) | |
tree | 80476efaba3fcc99c7526182d9ad935264c099eb /include/asterisk/cdr.h | |
parent | 21f8c779349b2a1d2acb77dd935546317c7c648b (diff) |
Implement AstData API data providers as part of the GSOC 2010 project,
midterm evaluation.
Review: https://reviewboard.asterisk.org/r/757/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/cdr.h')
-rw-r--r-- | include/asterisk/cdr.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h index 4ca479728..5442fdb0c 100644 --- a/include/asterisk/cdr.h +++ b/include/asterisk/cdr.h @@ -28,6 +28,8 @@ #include <sys/time.h> +#include "asterisk/data.h" + /*! * \brief CDR Flags */ @@ -435,4 +437,14 @@ int ast_cdr_engine_init(void); /*! Submit any remaining CDRs and prepare for shutdown */ void ast_cdr_engine_term(void); +/*! + * \brief + * \param[in] tree Where to insert the cdr. + * \param[in] cdr The cdr structure to insert in 'tree'. + * \param[in] recur Go throw all the cdr levels. + * \retval <0 on error. + * \retval 0 on success. + */ +int ast_cdr_data_add_structure(struct ast_data *tree, struct ast_cdr *cdr, int recur); + #endif /* _ASTERISK_CDR_H */ |