diff options
author | Jonathan Rose <jrose@digium.com> | 2013-06-07 15:54:26 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2013-06-07 15:54:26 +0000 |
commit | bec2d7948419761c082c7965e847ae4961ee1e27 (patch) | |
tree | 0d608708c016b409ebe44090c67921284bd0958b /include | |
parent | 759a7e4a30b5e69738670494e5c19b6982a34644 (diff) |
app_meetme: Refactor manager events to use stasis
(closes issue ASTERISK-21467)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2564/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/manager.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h index 66935b425..e80804113 100644 --- a/include/asterisk/manager.h +++ b/include/asterisk/manager.h @@ -316,6 +316,21 @@ int astman_datastore_remove(struct mansession *s, struct ast_datastore *datastor */ struct ast_datastore *astman_datastore_find(struct mansession *s, const struct ast_datastore_info *info, const char *uid); +/*! + * \brief append an event header to an ast string + * \since 12 + * + * \param fields_string pointer to an ast_string pointer. It may be a pointer to a + * NULL ast_str pointer, in which case the ast_str will be initialized. + * \param header The header being applied + * \param value the value of the header + * + * \retval 0 if successful + * \retval non-zero on failure + */ +int ast_str_append_event_header(struct ast_str **fields_string, + const char *header, const char *value); + /*! \brief Struct representing a snapshot of channel state */ struct ast_channel_snapshot; |