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