diff options
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 */ |