]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: move ftdm_channel_clear_detected_tones to the private header
authorMoises Silva <moy@sangoma.com>
Tue, 28 Sep 2010 01:04:43 +0000 (21:04 -0400)
committerMoises Silva <moy@sangoma.com>
Tue, 28 Sep 2010 01:10:32 +0000 (21:10 -0400)
libs/freetdm/src/include/freetdm.h
libs/freetdm/src/include/private/ftdm_core.h

index a4181522514ffdd08eccb4550e39fe37e14d78fe..1efe459032eddbb51dadcc77466b5ef065658ba8 100644 (file)
@@ -667,9 +667,6 @@ FT_DECLARE(ftdm_status_t) ftdm_span_set_sig_status(ftdm_span_t *span, ftdm_signa
 /*! \brief Get span signaling status (ie: whether protocol layer is up or down) */
 FT_DECLARE(ftdm_status_t) ftdm_span_get_sig_status(ftdm_span_t *span, ftdm_signaling_status_t *status);
 
-/*! \brief Get span signaling status (ie: whether protocol layer is up or down) */
-FT_DECLARE(void) ftdm_channel_clear_detected_tones(ftdm_channel_t *ftdmchan);
-
 /*! 
  * \brief Set user private data in the channel
  *
@@ -1268,7 +1265,7 @@ FT_DECLARE(const char *) ftdm_channel_get_state_str(const ftdm_channel_t *channe
 FT_DECLARE(const char *) ftdm_channel_get_last_state_str(const ftdm_channel_t *channel);
 
 /*! \brief For display debugging purposes you can display this string which describes the history of the channel 
- *  \param The channel
+ *  \param channel The channel to get the history from
  *  \return History string for the channel. You must free the string with ftdm_free
  */
 FT_DECLARE(char *) ftdm_channel_get_history_str(const ftdm_channel_t *channel);
index beee8686333bd2414231062fb3fe3898e2667122..8bdbdd60f8260d27599d0274ae5551ac42ea824e 100644 (file)
@@ -595,6 +595,10 @@ FT_DECLARE(ftdm_status_t) ftdm_channel_queue_dtmf(ftdm_channel_t *ftdmchan, cons
 /* dequeue pending signals and notify the user via the span signal callback */
 FT_DECLARE(ftdm_status_t) ftdm_span_trigger_signals(const ftdm_span_t *span);
 
+/*! \brief clear the tone detector state */
+FT_DECLARE(void) ftdm_channel_clear_detected_tones(ftdm_channel_t *ftdmchan);
+
+
 /*!
   \brief Assert condition
 */