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/indications.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/indications.h')
-rw-r--r-- | include/asterisk/indications.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/indications.h b/include/asterisk/indications.h index 41a77210c..f69eb86c6 100644 --- a/include/asterisk/indications.h +++ b/include/asterisk/indications.h @@ -27,6 +27,8 @@ #define _ASTERISK_INDICATIONS_H #include "asterisk/astobj2.h" +#include "asterisk/utils.h" +#include "asterisk/data.h" /*! * \brief Description of a tone @@ -237,4 +239,12 @@ static inline struct ast_tone_zone_sound *ast_tone_zone_sound_ref(struct ast_ton return ts; } +/*! + * \brief Add a tone_zone structure to the data tree specified. + * + * \retval <0 on error. + * \retval 0 on success. + */ +int ast_tone_zone_data_add_structure(struct ast_data *tree, struct ast_tone_zone *zone); + #endif /* _ASTERISK_INDICATIONS_H */ |