make name more specific to avoid namespace bs

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4820 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-04-01 01:16:16 +00:00
1 parent 41d9cf2989
commit bba24931de
6 files changed
+48 -48

No files matched your search

+6 -6
View File
@@ -1071,18 +1071,18 @@ sofia_profile_t *sofia_glue_find_profile(char *key)
{
sofia_profile_t *profile;
switch_mutex_lock(globals.hash_mutex);
profile = (sofia_profile_t *) switch_core_hash_find(globals.profile_hash, key);
switch_mutex_unlock(globals.hash_mutex);
switch_mutex_lock(mod_sofia_globals.hash_mutex);
profile = (sofia_profile_t *) switch_core_hash_find(mod_sofia_globals.profile_hash, key);
switch_mutex_unlock(mod_sofia_globals.hash_mutex);
return profile;
}
void sofia_glue_add_profile(char *key, sofia_profile_t * profile)
{
switch_mutex_lock(globals.hash_mutex);
switch_core_hash_insert(globals.profile_hash, key, profile);
switch_mutex_unlock(globals.hash_mutex);
switch_mutex_lock(mod_sofia_globals.hash_mutex);
switch_core_hash_insert(mod_sofia_globals.profile_hash, key, profile);
switch_mutex_unlock(mod_sofia_globals.hash_mutex);
}
void sofia_glue_execute_sql(char *dbname, char *sql, switch_mutex_t * mutex)