swig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15567 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
11610cf3b5
commit
4f629ed1a2
|
@ -1943,7 +1943,7 @@ SWITCH_DECLARE(switch_status_t) switch_cache_db_execute_sql(switch_cache_db_hand
|
|||
SWITCH_DECLARE(switch_status_t) switch_cache_db_execute_sql_callback(switch_cache_db_handle_t *dbh, const char *sql,
|
||||
switch_core_db_callback_func_t callback, void *pdata, char **err);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t)switch_core_db_handle(switch_cache_db_handle_t **dbh);
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_db_handle(switch_cache_db_handle_t **dbh);
|
||||
SWITCH_DECLARE(void) switch_cache_db_test_reactive(switch_cache_db_handle_t *db, const char *test_sql, const char *drop_sql, const char *reactive_sql);
|
||||
SWITCH_DECLARE(switch_status_t) switch_cache_db_persistant_execute(switch_cache_db_handle_t *dbh, const char *sql, uint32_t retries);
|
||||
SWITCH_DECLARE(switch_status_t) switch_cache_db_persistant_execute_trans(switch_cache_db_handle_t *dbh, const char *sql, uint32_t retries);
|
||||
|
|
|
@ -355,6 +355,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp___BSD_VISIBLE_get() {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENT_ORIGINATE_DELIM_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
||||
result = (char *) ":_:";
|
||||
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BLANK_STRING_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
@ -6681,7 +6692,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_service_session(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
switch_event_t *arg2 = (switch_event_t *) 0 ;
|
||||
|
@ -6690,6 +6701,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * ja
|
|||
switch_core_session_t **arg5 = (switch_core_session_t **) 0 ;
|
||||
switch_memory_pool_t **arg6 = (switch_memory_pool_t **) 0 ;
|
||||
switch_originate_flag_t arg7 ;
|
||||
switch_call_cause_t *arg8 = (switch_call_cause_t *) 0 ;
|
||||
switch_call_cause_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
|
@ -6699,7 +6711,8 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * ja
|
|||
arg5 = (switch_core_session_t **)jarg5;
|
||||
arg6 = (switch_memory_pool_t **)jarg6;
|
||||
arg7 = (switch_originate_flag_t)jarg7;
|
||||
result = (switch_call_cause_t)switch_core_session_outgoing_channel(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
|
||||
arg8 = (switch_call_cause_t *)jarg8;
|
||||
result = (switch_call_cause_t)switch_core_session_outgoing_channel(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -7633,7 +7646,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_db_open_file(char * jarg1) {
|
|||
switch_core_db_t *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (switch_core_db_t *)switch_core_db_open_file(arg1);
|
||||
result = (switch_core_db_t *)switch_core_db_open_file((char const *)arg1);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -7655,6 +7668,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute(void * jarg1
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute_trans(void * jarg1, char * jarg2, unsigned long jarg3) {
|
||||
int jresult ;
|
||||
switch_core_db_t *arg1 = (switch_core_db_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
uint32_t arg3 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_core_db_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (uint32_t)jarg3;
|
||||
result = (switch_status_t)switch_core_db_persistant_execute_trans(arg1,arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
switch_core_db_t *arg1 = (switch_core_db_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -7669,17 +7698,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_test_reactive(void * jarg1, ch
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CORE_DB_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
||||
result = (char *) "core";
|
||||
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_file_open(char * jarg1, char * jarg2, int jarg3, void * jarg4, char * jarg5, unsigned char jarg6, unsigned long jarg7, unsigned int jarg8, void * jarg9) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -7802,6 +7820,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_close(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_truncate(void * jarg1, long long jarg2) {
|
||||
int jresult ;
|
||||
switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ;
|
||||
int64_t arg2 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_file_handle_t *)jarg1;
|
||||
arg2 = (int64_t)jarg2;
|
||||
result = (switch_status_t)switch_core_file_truncate(arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_open(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4, unsigned int jarg5, void * jarg6, void * jarg7) {
|
||||
int jresult ;
|
||||
switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ;
|
||||
|
@ -8696,6 +8728,338 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_preprocess_session(void * jarg1, ch
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_CACHE_DB_LEN_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int) 256;
|
||||
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_name_set(void * jarg1, char * jarg2) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *arg2 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) strncpy((char *)arg1->name, (const char *)arg2, 256);
|
||||
else arg1->name[0] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_handle_t_name_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
result = (char *)(char *) ((arg1)->name);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_db_set(void * jarg1, void * jarg2) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_core_db_t *arg2 = (switch_core_db_t *) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (switch_core_db_t *)jarg2;
|
||||
if (arg1) (arg1)->db = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_db_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_core_db_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
result = (switch_core_db_t *) ((arg1)->db);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_odbc_dbh_set(void * jarg1, void * jarg2) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_odbc_handle_t *arg2 = (switch_odbc_handle_t *) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (switch_odbc_handle_t *)jarg2;
|
||||
if (arg1) (arg1)->odbc_dbh = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_odbc_dbh_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_odbc_handle_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
result = (switch_odbc_handle_t *) ((arg1)->odbc_dbh);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_last_used_set(void * jarg1, void * jarg2) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
time_t arg2 ;
|
||||
time_t *argp2 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
argp2 = (time_t *)jarg2;
|
||||
if (!argp2) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0);
|
||||
return ;
|
||||
}
|
||||
arg2 = *argp2;
|
||||
if (arg1) (arg1)->last_used = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_last_used_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
time_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
result = ((arg1)->last_used);
|
||||
jresult = new time_t((time_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_mutex_set(void * jarg1, void * jarg2) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_mutex_t *arg2 = (switch_mutex_t *) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (switch_mutex_t *)jarg2;
|
||||
if (arg1) (arg1)->mutex = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_mutex_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_mutex_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
result = (switch_mutex_t *) ((arg1)->mutex);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_pool_set(void * jarg1, void * jarg2) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (switch_memory_pool_t *)jarg2;
|
||||
if (arg1) (arg1)->pool = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_pool_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
switch_memory_pool_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
result = (switch_memory_pool_t *) ((arg1)->pool);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_flags_set(void * jarg1, int jarg2) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
int32_t arg2 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (int32_t)jarg2;
|
||||
if (arg1) (arg1)->flags = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_handle_t_flags_get(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
int32_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
result = (int32_t) ((arg1)->flags);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_handle_t() {
|
||||
void * jresult ;
|
||||
switch_cache_db_handle_t *result = 0 ;
|
||||
|
||||
result = (switch_cache_db_handle_t *)new switch_cache_db_handle_t();
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_handle_t(void * jarg1) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
delete arg1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_release_db_handle(void * jarg1) {
|
||||
switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t **)jarg1;
|
||||
switch_cache_db_release_db_handle(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_destroy_db_handle(void * jarg1) {
|
||||
switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t **)jarg1;
|
||||
switch_cache_db_destroy_db_handle(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_get_db_handle(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
int jresult ;
|
||||
switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
char *arg4 = (char *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t **)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
arg4 = (char *)jarg4;
|
||||
result = (switch_status_t)switch_cache_db_get_db_handle(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql(void * jarg1, char * jarg2, void * jarg3) {
|
||||
int jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char **arg3 = (char **) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char **)jarg3;
|
||||
result = (switch_status_t)switch_cache_db_execute_sql(arg1,(char const *)arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) {
|
||||
int jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ;
|
||||
void *arg4 = (void *) 0 ;
|
||||
char **arg5 = (char **) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (switch_core_db_callback_func_t)jarg3;
|
||||
arg4 = (void *)jarg4;
|
||||
arg5 = (char **)jarg5;
|
||||
result = (switch_status_t)switch_cache_db_execute_sql_callback(arg1,(char const *)arg2,arg3,arg4,arg5);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_handle(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t **)jarg1;
|
||||
result = (switch_status_t)switch_core_db_handle(arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
char *arg4 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
arg4 = (char *)jarg4;
|
||||
switch_cache_db_test_reactive(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute(void * jarg1, char * jarg2, unsigned long jarg3) {
|
||||
int jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
uint32_t arg3 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (uint32_t)jarg3;
|
||||
result = (switch_status_t)switch_cache_db_persistant_execute(arg1,(char const *)arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute_trans(void * jarg1, char * jarg2, unsigned long jarg3) {
|
||||
int jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
uint32_t arg3 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (uint32_t)jarg3;
|
||||
result = (switch_status_t)switch_cache_db_persistant_execute_trans(arg1,(char const *)arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_detach() {
|
||||
switch_cache_db_detach();
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
@ -8926,6 +9290,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMIN_get() {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_zstr(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
int result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (int)zstr((char const *)arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_moh(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -9270,6 +9646,18 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_char_to_rfc2833(char jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sanitize_number(char * jarg1) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (char *)switch_sanitize_number(arg1);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check(char * jarg1, int jarg2) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -9400,6 +9788,24 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string(char * jarg1,
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string_string(char * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) {
|
||||
unsigned int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char **arg3 = (char **) 0 ;
|
||||
unsigned int arg4 ;
|
||||
unsigned int result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char **)jarg3;
|
||||
arg4 = (unsigned int)jarg4;
|
||||
result = (unsigned int)switch_separate_string_string(arg1,arg2,arg3,arg4);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_number(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -13398,6 +13804,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_close_get(void *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_truncate_set(void * jarg1, void * jarg2) {
|
||||
switch_file_interface *arg1 = (switch_file_interface *) 0 ;
|
||||
switch_status_t (*arg2)(switch_file_handle_t *,int64_t) = (switch_status_t (*)(switch_file_handle_t *,int64_t)) 0 ;
|
||||
|
||||
arg1 = (switch_file_interface *)jarg1;
|
||||
arg2 = (switch_status_t (*)(switch_file_handle_t *,int64_t))jarg2;
|
||||
if (arg1) (arg1)->file_truncate = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_truncate_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_file_interface *arg1 = (switch_file_interface *) 0 ;
|
||||
switch_status_t (*result)(switch_file_handle_t *,int64_t) = 0 ;
|
||||
|
||||
arg1 = (switch_file_interface *)jarg1;
|
||||
result = (switch_status_t (*)(switch_file_handle_t *,int64_t)) ((arg1)->file_truncate);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_read_set(void * jarg1, void * jarg2) {
|
||||
switch_file_interface *arg1 = (switch_file_interface *) 0 ;
|
||||
switch_status_t (*arg2)(switch_file_handle_t *,void *,switch_size_t *) = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) 0 ;
|
||||
|
@ -22892,7 +23321,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_gentones(void * jarg1, char * jarg2
|
|||
arg2 = (char *)jarg2;
|
||||
arg3 = (int32_t)jarg3;
|
||||
arg4 = (switch_input_args_t *)jarg4;
|
||||
result = (switch_status_t)switch_ivr_gentones(arg1,arg2,arg3,arg4);
|
||||
result = (switch_status_t)switch_ivr_gentones(arg1,(char const *)arg2,arg3,arg4);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -23002,7 +23431,41 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_speak_text(void * jarg1, char * jar
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11, void * jarg12) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
switch_core_session_t **arg2 = (switch_core_session_t **) 0 ;
|
||||
switch_call_cause_t *arg3 = (switch_call_cause_t *) 0 ;
|
||||
char *arg4 = (char *) 0 ;
|
||||
uint32_t arg5 ;
|
||||
switch_state_handler_table_t *arg6 = (switch_state_handler_table_t *) 0 ;
|
||||
char *arg7 = (char *) 0 ;
|
||||
char *arg8 = (char *) 0 ;
|
||||
switch_caller_profile_t *arg9 = (switch_caller_profile_t *) 0 ;
|
||||
switch_event_t *arg10 = (switch_event_t *) 0 ;
|
||||
switch_originate_flag_t arg11 ;
|
||||
switch_call_cause_t *arg12 = (switch_call_cause_t *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (switch_core_session_t **)jarg2;
|
||||
arg3 = (switch_call_cause_t *)jarg3;
|
||||
arg4 = (char *)jarg4;
|
||||
arg5 = (uint32_t)jarg5;
|
||||
arg6 = (switch_state_handler_table_t *)jarg6;
|
||||
arg7 = (char *)jarg7;
|
||||
arg8 = (char *)jarg8;
|
||||
arg9 = (switch_caller_profile_t *)jarg9;
|
||||
arg10 = (switch_event_t *)jarg10;
|
||||
arg11 = (switch_originate_flag_t)jarg11;
|
||||
arg12 = (switch_call_cause_t *)jarg12;
|
||||
result = (switch_status_t)switch_ivr_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11,arg12);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_enterprise_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
switch_core_session_t **arg2 = (switch_core_session_t **) 0 ;
|
||||
|
@ -23028,7 +23491,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg
|
|||
arg9 = (switch_caller_profile_t *)jarg9;
|
||||
arg10 = (switch_event_t *)jarg10;
|
||||
arg11 = (switch_originate_flag_t)jarg11;
|
||||
result = (switch_status_t)switch_ivr_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11);
|
||||
result = (switch_status_t)switch_ivr_enterprise_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
|
|
@ -70,6 +70,21 @@ public class Api : IDisposable {
|
|||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum cache_db_flag_t {
|
||||
CDF_INUSE = (1 << 0)
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
@ -1367,8 +1382,8 @@ public class freeswitch {
|
|||
freeswitchPINVOKE.switch_core_service_session(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||
}
|
||||
|
||||
public static switch_call_cause_t switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session session, switch_event var_event, string endpoint_name, switch_caller_profile caller_profile, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, uint flags) {
|
||||
switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(var_event), endpoint_name, switch_caller_profile.getCPtr(caller_profile), SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), flags);
|
||||
public static switch_call_cause_t switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session session, switch_event var_event, string endpoint_name, switch_caller_profile caller_profile, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, uint flags, SWIGTYPE_p_switch_call_cause_t cancel_cause) {
|
||||
switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(var_event), endpoint_name, switch_caller_profile.getCPtr(caller_profile), SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), flags, SWIGTYPE_p_switch_call_cause_t.getCPtr(cancel_cause));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -1705,6 +1720,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_db_persistant_execute_trans(SWIGTYPE_p_sqlite3 db, string sql, uint retries) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_db_persistant_execute_trans(SWIGTYPE_p_sqlite3.getCPtr(db), sql, retries);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_core_db_test_reactive(SWIGTYPE_p_sqlite3 db, string test_sql, string drop_sql, string reactive_sql) {
|
||||
freeswitchPINVOKE.switch_core_db_test_reactive(SWIGTYPE_p_sqlite3.getCPtr(db), test_sql, drop_sql, reactive_sql);
|
||||
}
|
||||
|
@ -1744,6 +1764,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_file_truncate(switch_file_handle fh, long offset) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_truncate(switch_file_handle.getCPtr(fh), offset);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
|
||||
return ret;
|
||||
|
@ -2079,6 +2104,52 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh) {
|
||||
freeswitchPINVOKE.switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
|
||||
}
|
||||
|
||||
public static void switch_cache_db_destroy_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh) {
|
||||
freeswitchPINVOKE.switch_cache_db_destroy_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
|
||||
}
|
||||
|
||||
public static switch_status_t switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh, string db_name, string odbc_user, string odbc_pass) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh), db_name, odbc_user, odbc_pass);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_cache_db_execute_sql(switch_cache_db_handle_t dbh, string sql, ref string err) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_execute_sql(switch_cache_db_handle_t.getCPtr(dbh), sql, ref err);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_cache_db_execute_sql_callback(switch_cache_db_handle_t dbh, string sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int callback, SWIGTYPE_p_void pdata, ref string err) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_execute_sql_callback(switch_cache_db_handle_t.getCPtr(dbh), sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pdata), ref err);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_cache_db_test_reactive(switch_cache_db_handle_t db, string test_sql, string drop_sql, string reactive_sql) {
|
||||
freeswitchPINVOKE.switch_cache_db_test_reactive(switch_cache_db_handle_t.getCPtr(db), test_sql, drop_sql, reactive_sql);
|
||||
}
|
||||
|
||||
public static switch_status_t switch_cache_db_persistant_execute(switch_cache_db_handle_t dbh, string sql, uint retries) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_persistant_execute(switch_cache_db_handle_t.getCPtr(dbh), sql, retries);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_cache_db_persistant_execute_trans(switch_cache_db_handle_t dbh, string sql, uint retries) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_persistant_execute_trans(switch_cache_db_handle_t.getCPtr(dbh), sql, retries);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_cache_db_detach() {
|
||||
freeswitchPINVOKE.switch_cache_db_detach();
|
||||
}
|
||||
|
||||
public static void switch_console_loop() {
|
||||
freeswitchPINVOKE.switch_console_loop();
|
||||
}
|
||||
|
@ -2159,6 +2230,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static int zstr(string s) {
|
||||
int ret = freeswitchPINVOKE.zstr(s);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_is_moh(string s) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_moh(s);
|
||||
return ret;
|
||||
|
@ -2266,6 +2342,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_sanitize_number(string number) {
|
||||
string ret = freeswitchPINVOKE.switch_sanitize_number(number);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_string_var_check(string s, switch_bool_t disable) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_string_var_check(s, (int)disable);
|
||||
return ret;
|
||||
|
@ -2316,6 +2397,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static uint switch_separate_string_string(string buf, string delim, ref string array, uint arraylen) {
|
||||
uint ret = freeswitchPINVOKE.switch_separate_string_string(buf, delim, ref array, arraylen);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_is_number(string str) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_number(str);
|
||||
return ret;
|
||||
|
@ -3384,8 +3470,13 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_event ovars, uint flags) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), switch_event.getCPtr(ovars), flags);
|
||||
public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_event ovars, uint flags, SWIGTYPE_p_switch_call_cause_t cancel_cause) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), switch_event.getCPtr(ovars), flags, SWIGTYPE_p_switch_call_cause_t.getCPtr(cancel_cause));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_enterprise_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_event ovars, uint flags) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_enterprise_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), switch_event.getCPtr(ovars), flags);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -4366,6 +4457,7 @@ public class freeswitch {
|
|||
public static readonly string FREESWITCH_ITAD = freeswitchPINVOKE.FREESWITCH_ITAD_get();
|
||||
public static readonly int __EXTENSIONS__ = freeswitchPINVOKE.__EXTENSIONS___get();
|
||||
public static readonly int __BSD_VISIBLE = freeswitchPINVOKE.__BSD_VISIBLE_get();
|
||||
public static readonly string SWITCH_ENT_ORIGINATE_DELIM = freeswitchPINVOKE.SWITCH_ENT_ORIGINATE_DELIM_get();
|
||||
public static readonly string SWITCH_BLANK_STRING = freeswitchPINVOKE.SWITCH_BLANK_STRING_get();
|
||||
public static readonly string SWITCH_SEQ_ESC = freeswitchPINVOKE.SWITCH_SEQ_ESC_get();
|
||||
public static readonly char SWITCH_SEQ_HOME_CHAR = freeswitchPINVOKE.SWITCH_SEQ_HOME_CHAR_get();
|
||||
|
@ -4532,7 +4624,7 @@ public class freeswitch {
|
|||
public static readonly int SWITCH_MAX_CORE_THREAD_SESSION_OBJS = freeswitchPINVOKE.SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get();
|
||||
public static readonly int SWITCH_MAX_STREAMS = freeswitchPINVOKE.SWITCH_MAX_STREAMS_get();
|
||||
public static readonly int MESSAGE_STRING_ARG_MAX = freeswitchPINVOKE.MESSAGE_STRING_ARG_MAX_get();
|
||||
public static readonly string SWITCH_CORE_DB = freeswitchPINVOKE.SWITCH_CORE_DB_get();
|
||||
public static readonly int CACHE_DB_LEN = freeswitchPINVOKE.CACHE_DB_LEN_get();
|
||||
public static readonly int SWITCH_CMD_CHUNK_LEN = freeswitchPINVOKE.SWITCH_CMD_CHUNK_LEN_get();
|
||||
public static readonly int SWITCH_SMAX = freeswitchPINVOKE.SWITCH_SMAX_get();
|
||||
public static readonly int SWITCH_SMIN = freeswitchPINVOKE.SWITCH_SMIN_get();
|
||||
|
@ -4749,6 +4841,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp___BSD_VISIBLE_get")]
|
||||
public static extern int __BSD_VISIBLE_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENT_ORIGINATE_DELIM_get")]
|
||||
public static extern string SWITCH_ENT_ORIGINATE_DELIM_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BLANK_STRING_get")]
|
||||
public static extern string SWITCH_BLANK_STRING_get();
|
||||
|
||||
|
@ -6316,7 +6411,7 @@ class freeswitchPINVOKE {
|
|||
public static extern void switch_core_service_session(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_outgoing_channel")]
|
||||
public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7);
|
||||
public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_resurrect_channel")]
|
||||
public static extern int switch_core_session_resurrect_channel(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||
|
@ -6516,12 +6611,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_persistant_execute")]
|
||||
public static extern int switch_core_db_persistant_execute(HandleRef jarg1, string jarg2, uint jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_persistant_execute_trans")]
|
||||
public static extern int switch_core_db_persistant_execute_trans(HandleRef jarg1, string jarg2, uint jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_test_reactive")]
|
||||
public static extern void switch_core_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_get")]
|
||||
public static extern string SWITCH_CORE_DB_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_file_open")]
|
||||
public static extern int switch_core_perform_file_open(string jarg1, string jarg2, int jarg3, HandleRef jarg4, string jarg5, byte jarg6, uint jarg7, uint jarg8, HandleRef jarg9);
|
||||
|
||||
|
@ -6543,6 +6638,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_close")]
|
||||
public static extern int switch_core_file_close(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_truncate")]
|
||||
public static extern int switch_core_file_truncate(HandleRef jarg1, long jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_open")]
|
||||
public static extern int switch_core_speech_open(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7);
|
||||
|
||||
|
@ -6750,6 +6848,87 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_preprocess_session")]
|
||||
public static extern int switch_ivr_preprocess_session(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_CACHE_DB_LEN_get")]
|
||||
public static extern int CACHE_DB_LEN_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_name_set")]
|
||||
public static extern void switch_cache_db_handle_t_name_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_name_get")]
|
||||
public static extern string switch_cache_db_handle_t_name_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_db_set")]
|
||||
public static extern void switch_cache_db_handle_t_db_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_db_get")]
|
||||
public static extern IntPtr switch_cache_db_handle_t_db_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_odbc_dbh_set")]
|
||||
public static extern void switch_cache_db_handle_t_odbc_dbh_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_odbc_dbh_get")]
|
||||
public static extern IntPtr switch_cache_db_handle_t_odbc_dbh_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_last_used_set")]
|
||||
public static extern void switch_cache_db_handle_t_last_used_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_last_used_get")]
|
||||
public static extern IntPtr switch_cache_db_handle_t_last_used_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_mutex_set")]
|
||||
public static extern void switch_cache_db_handle_t_mutex_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_mutex_get")]
|
||||
public static extern IntPtr switch_cache_db_handle_t_mutex_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_pool_set")]
|
||||
public static extern void switch_cache_db_handle_t_pool_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_pool_get")]
|
||||
public static extern IntPtr switch_cache_db_handle_t_pool_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_flags_set")]
|
||||
public static extern void switch_cache_db_handle_t_flags_set(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_handle_t_flags_get")]
|
||||
public static extern int switch_cache_db_handle_t_flags_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_handle_t")]
|
||||
public static extern IntPtr new_switch_cache_db_handle_t();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_handle_t")]
|
||||
public static extern void delete_switch_cache_db_handle_t(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_release_db_handle")]
|
||||
public static extern void switch_cache_db_release_db_handle(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_destroy_db_handle")]
|
||||
public static extern void switch_cache_db_destroy_db_handle(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_get_db_handle")]
|
||||
public static extern int switch_cache_db_get_db_handle(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql")]
|
||||
public static extern int switch_cache_db_execute_sql(HandleRef jarg1, string jarg2, ref string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_callback")]
|
||||
public static extern int switch_cache_db_execute_sql_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_handle")]
|
||||
public static extern int switch_core_db_handle(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_test_reactive")]
|
||||
public static extern void switch_cache_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute")]
|
||||
public static extern int switch_cache_db_persistant_execute(HandleRef jarg1, string jarg2, uint jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute_trans")]
|
||||
public static extern int switch_cache_db_persistant_execute_trans(HandleRef jarg1, string jarg2, uint jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_detach")]
|
||||
public static extern void switch_cache_db_detach();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")]
|
||||
public static extern int SWITCH_CMD_CHUNK_LEN_get();
|
||||
|
||||
|
@ -6807,6 +6986,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SMIN_get")]
|
||||
public static extern int SWITCH_SMIN_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_zstr")]
|
||||
public static extern int zstr(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_moh")]
|
||||
public static extern int switch_is_moh(string jarg1);
|
||||
|
||||
|
@ -6867,6 +7049,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_char_to_rfc2833")]
|
||||
public static extern byte switch_char_to_rfc2833(char jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_sanitize_number")]
|
||||
public static extern string switch_sanitize_number(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_string_var_check")]
|
||||
public static extern int switch_string_var_check(string jarg1, int jarg2);
|
||||
|
||||
|
@ -6897,6 +7082,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_separate_string")]
|
||||
public static extern uint switch_separate_string(string jarg1, char jarg2, ref string jarg3, uint jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_separate_string_string")]
|
||||
public static extern uint switch_separate_string_string(string jarg1, string jarg2, ref string jarg3, uint jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_number")]
|
||||
public static extern int switch_is_number(string jarg1);
|
||||
|
||||
|
@ -7863,6 +8051,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_close_get")]
|
||||
public static extern IntPtr switch_file_interface_file_close_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_truncate_set")]
|
||||
public static extern void switch_file_interface_file_truncate_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_truncate_get")]
|
||||
public static extern IntPtr switch_file_interface_file_truncate_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_set")]
|
||||
public static extern void switch_file_interface_file_read_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
|
@ -10153,7 +10347,10 @@ class freeswitchPINVOKE {
|
|||
public static extern int switch_ivr_speak_text(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_originate")]
|
||||
public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, HandleRef jarg10, uint jarg11);
|
||||
public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, HandleRef jarg10, uint jarg11, HandleRef jarg12);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_enterprise_originate")]
|
||||
public static extern int switch_ivr_enterprise_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, HandleRef jarg10, uint jarg11);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_bridge_display")]
|
||||
public static extern void switch_ivr_bridge_display(HandleRef jarg1, HandleRef jarg2);
|
||||
|
@ -12930,18 +13127,18 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t {
|
||||
public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t(IntPtr cPtr, bool futureUse) {
|
||||
internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t() {
|
||||
protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t obj) {
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
@ -13380,6 +13577,36 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
|
@ -14370,6 +14597,36 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_p_switch_cache_db_handle_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_p_switch_cache_db_handle_t(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_p_switch_cache_db_handle_t() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_cache_db_handle_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_p_switch_caller_extension {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
|
@ -15750,6 +16007,36 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_switch_odbc_handle {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_switch_odbc_handle(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_switch_odbc_handle() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_switch_odbc_handle obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_switch_pollfd_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
|
@ -17473,6 +17760,129 @@ public enum switch_bool_t {
|
|||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class switch_cache_db_handle_t : IDisposable {
|
||||
private HandleRef swigCPtr;
|
||||
protected bool swigCMemOwn;
|
||||
|
||||
internal switch_cache_db_handle_t(IntPtr cPtr, bool cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(switch_cache_db_handle_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
|
||||
~switch_cache_db_handle_t() {
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
freeswitchPINVOKE.delete_switch_cache_db_handle_t(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public string name {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_cache_db_handle_t_name_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_cache_db_handle_t_name_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_sqlite3 db {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_cache_db_handle_t_db_set(swigCPtr, SWIGTYPE_p_sqlite3.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_handle_t_db_get(swigCPtr);
|
||||
SWIGTYPE_p_sqlite3 ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_switch_odbc_handle odbc_dbh {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_cache_db_handle_t_odbc_dbh_set(swigCPtr, SWIGTYPE_p_switch_odbc_handle.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_handle_t_odbc_dbh_get(swigCPtr);
|
||||
SWIGTYPE_p_switch_odbc_handle ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_odbc_handle(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_time_t last_used {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_cache_db_handle_t_last_used_set(swigCPtr, SWIGTYPE_p_time_t.getCPtr(value));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
}
|
||||
get {
|
||||
SWIGTYPE_p_time_t ret = new SWIGTYPE_p_time_t(freeswitchPINVOKE.switch_cache_db_handle_t_last_used_get(swigCPtr), true);
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_switch_mutex_t mutex {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_cache_db_handle_t_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_handle_t_mutex_get(swigCPtr);
|
||||
SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_apr_pool_t pool {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_cache_db_handle_t_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_handle_t_pool_get(swigCPtr);
|
||||
SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public int flags {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_cache_db_handle_t_flags_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
int ret = freeswitchPINVOKE.switch_cache_db_handle_t_flags_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_cache_db_handle_t() : this(freeswitchPINVOKE.new_switch_cache_db_handle_t(), true) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_call_cause_t {
|
||||
SWITCH_CAUSE_NONE = 0,
|
||||
SWITCH_CAUSE_UNALLOCATED_NUMBER = 1,
|
||||
|
@ -18249,6 +18659,7 @@ public enum switch_channel_flag_t {
|
|||
CF_NOT_READY,
|
||||
CF_SIGNAL_BRIDGE_TTL,
|
||||
CF_MEDIA_BRIDGE_TTL,
|
||||
CF_BYPASS_MEDIA_AFTER_BRIDGE,
|
||||
CF_FLAG_MAX
|
||||
}
|
||||
|
||||
|
@ -21185,7 +21596,8 @@ namespace FreeSWITCH.Native {
|
|||
SWITCH_FILE_OPEN = (1 << 11),
|
||||
SWITCH_FILE_CALLBACK = (1 << 12),
|
||||
SWITCH_FILE_DONE = (1 << 13),
|
||||
SWITCH_FILE_BUFFER_DONE = (1 << 14)
|
||||
SWITCH_FILE_BUFFER_DONE = (1 << 14),
|
||||
SWITCH_FILE_WRITE_APPEND = (1 << 15)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -21710,6 +22122,17 @@ public class switch_file_interface : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t file_truncate {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_file_interface_file_truncate_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_truncate_get(swigCPtr);
|
||||
SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t file_read {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_file_interface_file_read_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t.getCPtr(value));
|
||||
|
@ -23276,13 +23699,13 @@ public class switch_io_routines : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t outgoing_channel {
|
||||
public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t outgoing_channel {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.getCPtr(value));
|
||||
freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_outgoing_channel_get(swigCPtr);
|
||||
SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t(cPtr, false);
|
||||
SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
@ -24204,7 +24627,8 @@ namespace FreeSWITCH.Native {
|
|||
SWITCH_ZRTP_FLAG_SECURE_MITM_SEND = (1 << 25),
|
||||
SWITCH_ZRTP_FLAG_SECURE_MITM_RECV = (1 << 26),
|
||||
SWITCH_RTP_FLAG_DEBUG_RTP_READ = (1 << 27),
|
||||
SWITCH_RTP_FLAG_DEBUG_RTP_WRITE = (1 << 28)
|
||||
SWITCH_RTP_FLAG_DEBUG_RTP_WRITE = (1 << 28),
|
||||
SWITCH_RTP_FLAG_VIDEO = (1 << 29)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -12073,17 +12073,17 @@ XS(SWIG_init) {
|
|||
SWIG_TypeClientData(SWIGTYPE_p_IVRMenu, (void*) "freeswitch::IVRMenu");
|
||||
SWIG_TypeClientData(SWIGTYPE_p_API, (void*) "freeswitch::API");
|
||||
SWIG_TypeClientData(SWIGTYPE_p_input_callback_state, (void*) "freeswitch::input_callback_state_t");
|
||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
SV *sv = get_sv((char*) SWIG_prefix "S_HUP", TRUE | 0x2 | GV_ADDMULTI);
|
||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_HUP)));
|
||||
SvREADONLY_on(sv);
|
||||
} while(0) /*@SWIG@*/;
|
||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
SV *sv = get_sv((char*) SWIG_prefix "S_FREE", TRUE | 0x2 | GV_ADDMULTI);
|
||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_FREE)));
|
||||
SvREADONLY_on(sv);
|
||||
} while(0) /*@SWIG@*/;
|
||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
SV *sv = get_sv((char*) SWIG_prefix "S_RDLOCK", TRUE | 0x2 | GV_ADDMULTI);
|
||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_RDLOCK)));
|
||||
SvREADONLY_on(sv);
|
||||
|
|
Loading…
Reference in New Issue