diff options
Diffstat (limited to 'include/asterisk/stasis_endpoints.h')
-rw-r--r-- | include/asterisk/stasis_endpoints.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/stasis_endpoints.h b/include/asterisk/stasis_endpoints.h index 0ba233bf8..1d56a8fea 100644 --- a/include/asterisk/stasis_endpoints.h +++ b/include/asterisk/stasis_endpoints.h @@ -208,11 +208,14 @@ struct ast_endpoint_snapshot *ast_endpoint_latest_snapshot(const char *tech, * \brief Build a JSON object from a \ref ast_endpoint_snapshot. * * \param snapshot Endpoint snapshot. + * \param sanitize The message sanitizer to use on the snapshot + * * \return JSON object representing endpoint snapshot. * \return \c NULL on error */ struct ast_json *ast_endpoint_snapshot_to_json( - const struct ast_endpoint_snapshot *snapshot); + const struct ast_endpoint_snapshot *snapshot, + const struct stasis_message_sanitizer *sanitize); /*! * \brief Initialization function for endpoint stasis support. |