mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 22:45:49 +00:00
Stasis Core: Refactor ACL Change events to go out over the stasis core msg bus
(issue ASTERISK-21103) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2481/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -830,6 +830,21 @@ struct ast_json *ast_json_timeval(const struct timeval tv, const char *zone);
|
||||
*/
|
||||
struct ast_json *ast_json_dialplan_cep(const char *context, const char *exten, int priority);
|
||||
|
||||
struct ast_json_payload {
|
||||
struct ast_json *json;
|
||||
};
|
||||
|
||||
/*!
|
||||
* \brief Create an ao2 object to pass json blobs as data payloads for stasis
|
||||
* \since 12.0.0
|
||||
*
|
||||
* \param json the ast_json blob we are loading
|
||||
*
|
||||
* \retval NULL if we fail to alloc it
|
||||
* \retval pointer to the ast_json_payload created
|
||||
*/
|
||||
struct ast_json_payload *ast_json_payload_create(struct ast_json *json);
|
||||
|
||||
/*!@}*/
|
||||
|
||||
#endif /* _ASTERISK_JSON_H */
|
||||
|
Reference in New Issue
Block a user