diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-04-24 16:55:23 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-04-27 19:08:05 -0500 |
commit | d71c6e3bfd0db7b069da326c155766b679de552f (patch) | |
tree | 56ae4e4050dcd06e8916443bdea8f61d6ad1b045 /include | |
parent | 176123e76c1705c2cc3247dcd0e15bbb060e7d9b (diff) |
SDP: Make ast_sdp_state_set_remote_sdp() return error.
Change-Id: I7707c9d872c476d897ff459008652b35142a35e1
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/sdp_state.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |