git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16061 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-12-28 16:37:54 +00:00
parent 6b004d9cc6
commit 0e2fe14aa6
5 changed files with 31 additions and 3 deletions
+4
View File
@@ -74,6 +74,8 @@
#endif
#endif
#include "uuid.h"
/* #define DEBUG_ALLOC */
#define DO_EVENTS
@@ -192,6 +194,7 @@ struct switch_runtime {
char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];
uint32_t flags;
switch_time_t timestamp;
switch_mutex_t *uuid_mutex;
switch_mutex_t *throttle_mutex;
switch_mutex_t *session_hash_mutex;
switch_mutex_t *global_mutex;
@@ -212,6 +215,7 @@ struct switch_runtime {
char *odbc_user;
char *odbc_pass;
uint32_t debug_level;
uuid_t *uuid;
};
extern struct switch_runtime runtime;
+1
View File
@@ -2049,6 +2049,7 @@ SWITCH_DECLARE(switch_status_t) switch_cache_db_persistant_execute_trans(switch_
SWITCH_DECLARE(void) switch_cache_db_detach(void);
SWITCH_DECLARE(uint32_t) switch_core_debug_level(void);
SWITCH_DECLARE(void) switch_cache_db_flush_handles(void);
SWITCH_DECLARE(void) switch_core_uuid_get(switch_uuid_t *uuid);
SWITCH_END_EXTERN_C
#endif