From 62779a64ff685ce686927f8e0d9a5eb9b640f9ca Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 19 Feb 2009 05:00:52 +0000 Subject: [PATCH] fix suncc visibility support in libteletone git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12156 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libteletone/src/libteletone_generate.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/libteletone/src/libteletone_generate.h b/libs/libteletone/src/libteletone_generate.h index 58c12bf024..a056cd4dd6 100644 --- a/libs/libteletone/src/libteletone_generate.h +++ b/libs/libteletone/src/libteletone_generate.h @@ -255,7 +255,7 @@ typedef struct teletone_generation_session teletone_generation_session_t; \param ... up to TELETONE_MAX_TONES frequencies terminated by 0.0 \return 0 */ -int teletone_set_tone(teletone_generation_session_t *ts, int index, ...); +TELETONE_API int teletone_set_tone(teletone_generation_session_t *ts, int index, ...); /*! \brief Assign a set of tones to a single tone map @@ -263,7 +263,7 @@ int teletone_set_tone(teletone_generation_session_t *ts, int index, ...); \param ... up to TELETONE_MAX_TONES frequencies terminated by 0.0 \return 0 */ -int teletone_set_map(teletone_tone_map_t *map, ...); +TELETONE_API int teletone_set_map(teletone_tone_map_t *map, ...); /*! \brief Initilize a tone generation session @@ -273,14 +273,14 @@ int teletone_set_map(teletone_tone_map_t *map, ...); \param user_data optional user data to send \return 0 */ -int teletone_init_session(teletone_generation_session_t *ts, int buflen, tone_handler handler, void *user_data); +TELETONE_API int teletone_init_session(teletone_generation_session_t *ts, int buflen, tone_handler handler, void *user_data); /*! \brief Free the buffer allocated by a tone generation session \param ts the tone generation session to destroy \return 0 */ -int teletone_destroy_session(teletone_generation_session_t *ts); +TELETONE_API int teletone_destroy_session(teletone_generation_session_t *ts); /*! \brief Execute a single tone generation instruction @@ -288,7 +288,7 @@ int teletone_destroy_session(teletone_generation_session_t *ts); \param map the tone mapping to use for the frequencies \return 0 */ -int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *map); +TELETONE_API int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *map); /*! \brief Execute a tone generation script and call callbacks after each instruction @@ -296,7 +296,7 @@ int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *m \param cmd the script to execute \return 0 */ -int teletone_run(teletone_generation_session_t *ts, const char *cmd); +TELETONE_API int teletone_run(teletone_generation_session_t *ts, const char *cmd); #ifdef __cplusplus }