avoid namespace collision with cepstral.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4502 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-10 17:51:20 +00:00
parent 9263ef1f72
commit 354305a132
3 changed files with 103 additions and 103 deletions

View File

@ -1 +1 @@
Mon Feb 19 12:03:56 EST 2007
Sat Mar 10 12:59:56 EST 2007

View File

@ -38,7 +38,7 @@ struct mutex {
#endif
mutex_status_t mutex_create(mutex_t **mutex)
mutex_status_t iax_mutex_create(mutex_t **mutex)
{
mutex_t *check = NULL;
@ -58,7 +58,7 @@ mutex_status_t mutex_create(mutex_t **mutex)
return MUTEX_SUCCESS;
}
mutex_status_t mutex_destroy(mutex_t *mutex)
mutex_status_t iax_mutex_destroy(mutex_t *mutex)
{
#ifdef WIN32
DeleteCriticalSection(&mutex->mutex);
@ -70,7 +70,7 @@ mutex_status_t mutex_destroy(mutex_t *mutex)
return MUTEX_SUCCESS;
}
mutex_status_t mutex_lock(mutex_t *mutex)
mutex_status_t iax_mutex_lock(mutex_t *mutex)
{
#ifdef WIN32
EnterCriticalSection(&mutex->mutex);
@ -81,7 +81,7 @@ mutex_status_t mutex_lock(mutex_t *mutex)
return MUTEX_SUCCESS;
}
mutex_status_t mutex_trylock(mutex_t *mutex)
mutex_status_t iax_mutex_trylock(mutex_t *mutex)
{
#ifdef WIN32
if (!TryEnterCriticalSection(&mutex->mutex))
@ -93,7 +93,7 @@ mutex_status_t mutex_trylock(mutex_t *mutex)
return MUTEX_SUCCESS;
}
mutex_status_t mutex_unlock(mutex_t *mutex)
mutex_status_t iax_mutex_unlock(mutex_t *mutex)
{
#ifdef WIN32
LeaveCriticalSection(&mutex->mutex);

View File

@ -28,10 +28,10 @@ typedef enum mutex_status {
MUTEX_FAILURE
} mutex_status_t;
mutex_status_t mutex_create(mutex_t **mutex);
mutex_status_t mutex_destroy(mutex_t *mutex);
mutex_status_t mutex_lock(mutex_t *mutex);
mutex_status_t mutex_trylock(mutex_t *mutex);
mutex_status_t mutex_unlock(mutex_t *mutex);
mutex_status_t iax_mutex_create(mutex_t **mutex);
mutex_status_t iax_mutex_destroy(mutex_t *mutex);
mutex_status_t iax_mutex_lock(mutex_t *mutex);
mutex_status_t iax_mutex_trylock(mutex_t *mutex);
mutex_status_t iax_mutex_unlock(mutex_t *mutex);
#endif