From d71c6e3bfd0db7b069da326c155766b679de552f Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Mon, 24 Apr 2017 16:55:23 -0500 Subject: SDP: Make ast_sdp_state_set_remote_sdp() return error. Change-Id: I7707c9d872c476d897ff459008652b35142a35e1 --- include/asterisk/sdp_state.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/asterisk') diff --git a/include/asterisk/sdp_state.h b/include/asterisk/sdp_state.h index 1382ed6af..88660b6c7 100644 --- a/include/asterisk/sdp_state.h +++ b/include/asterisk/sdp_state.h @@ -146,9 +146,12 @@ const void *ast_sdp_state_get_local_sdp_impl(struct ast_sdp_state *sdp_state); * \param sdp_state * \param sdp * + * \retval 0 Success + * \retval non-0 Failure + * * \since 15 */ -void ast_sdp_state_set_remote_sdp(struct ast_sdp_state *sdp_state, const struct ast_sdp *sdp); +int ast_sdp_state_set_remote_sdp(struct ast_sdp_state *sdp_state, const struct ast_sdp *sdp); /*! * \brief Set the remote SDP from an Implementation -- cgit v1.2.3