freetdm: add deprecate warning to get last error stuff that nobody sets anyways

This commit is contained in:
Moises Silva committed 2011-01-17 12:44:52 -05:00
1 parent a41974e580
commit a020724030
2 files changed
+11 -1

No files matched your search

+6
View File
@@ -1064,6 +1064,9 @@ FT_DECLARE(ftdm_codec_t) ftdm_channel_get_codec(const ftdm_channel_t *ftdmchan);
/*!
* \brief Get the last error string for the channel
*
* \deprecated This API will disappear in the future and not every
* FreeTDM API set the last error value
*
* \param ftdmchan The channel to get the error from
*
* \retval The error string (not thread-safe, the string is per channel, not per thread)
@@ -1136,6 +1139,9 @@ FT_DECLARE(ftdm_status_t) ftdm_span_find(uint32_t id, ftdm_span_t **span);
/*!
* \brief Get the last error string for the given span
*
* \deprecated This API will disappear in the future and not every
* FreeTDM API set the last error value
*
* \param span The span to get the last error from
*
* \retval character string for the last error