mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
FS-2050 Core ODBC support for transactions with MSSQL
This commit is contained in:
@@ -193,6 +193,11 @@ struct switch_media_bug {
|
||||
struct switch_media_bug *next;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
DBTYPE_DEFAULT = 0,
|
||||
DBTYPE_MSSQL = 1,
|
||||
} switch_dbtype_t;
|
||||
|
||||
struct switch_runtime {
|
||||
switch_time_t initiated;
|
||||
switch_time_t reference;
|
||||
@@ -237,6 +242,7 @@ struct switch_runtime {
|
||||
double min_idle_time;
|
||||
int sql_buffer_len;
|
||||
int max_sql_buffer_len;
|
||||
switch_dbtype_t odbc_dbtype;
|
||||
};
|
||||
|
||||
extern struct switch_runtime runtime;
|
||||
|
||||
Reference in New Issue
Block a user