Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
09c3fba2
提交
09c3fba2
authored
7月 16, 2011
作者:
Brian West
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
swigall
上级
16759814
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
107 行增加
和
0 行删除
+107
-0
freeswitch_wrap.cxx
src/mod/languages/mod_managed/freeswitch_wrap.cxx
+66
-0
swig.cs
src/mod/languages/mod_managed/managed/swig.cs
+41
-0
没有找到文件。
src/mod/languages/mod_managed/freeswitch_wrap.cxx
浏览文件 @
09c3fba2
...
...
@@ -7801,6 +7801,34 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_free_message(void * jarg1
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_signal_data(void * jarg1, void * jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
void *arg2 = (void *) 0 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (void *)jarg2;
result = (switch_status_t)switch_core_session_queue_signal_data(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_signal_data(void * jarg1, void * jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
void **arg2 = (void **) 0 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (void **)jarg2;
result = (switch_status_t)switch_core_session_dequeue_signal_data(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_pass_indication(void * jarg1, int jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
...
...
@@ -23767,6 +23795,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_running_state(void * jarg1)
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_check_signal(void * jarg1, int jarg2) {
int jresult ;
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_bool_t arg2 ;
int result;
arg1 = (switch_channel_t *)jarg1;
arg2 = (switch_bool_t)jarg2;
result = (int)switch_channel_check_signal(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_ready(void * jarg1, int jarg2, int jarg3) {
int jresult ;
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
...
...
@@ -23915,6 +23957,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_cause_q850(void * jarg1) {
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_cause_ptr(void * jarg1) {
void * jresult ;
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_call_cause_t *result = 0 ;
arg1 = (switch_channel_t *)jarg1;
result = (switch_call_cause_t *)switch_channel_get_cause_ptr(arg1);
jresult = (void *)result;
return jresult;
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_cause2str(int jarg1) {
char * jresult ;
switch_call_cause_t arg1 ;
...
...
@@ -27565,6 +27619,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_messages(void * jarg1) {
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_signal_data(void * jarg1) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
result = (switch_status_t)switch_ivr_parse_all_signal_data(arg1);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long jarg2, int jarg3, void * jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
src/mod/languages/mod_managed/managed/swig.cs
浏览文件 @
09c3fba2
...
...
@@ -1471,6 +1471,16 @@ public class freeswitch {
freeswitchPINVOKE
.
switch_core_session_free_message
(
SWIGTYPE_p_p_switch_core_session_message
.
getCPtr
(
message
));
}
public
static
switch_status_t
switch_core_session_queue_signal_data
(
SWIGTYPE_p_switch_core_session
session
,
SWIGTYPE_p_void
signal_data
)
{
switch_status_t
ret
=
(
switch_status_t
)
freeswitchPINVOKE
.
switch_core_session_queue_signal_data
(
SWIGTYPE_p_switch_core_session
.
getCPtr
(
session
),
SWIGTYPE_p_void
.
getCPtr
(
signal_data
));
return
ret
;
}
public
static
switch_status_t
switch_core_session_dequeue_signal_data
(
SWIGTYPE_p_switch_core_session
session
,
SWIGTYPE_p_p_void
signal_data
)
{
switch_status_t
ret
=
(
switch_status_t
)
freeswitchPINVOKE
.
switch_core_session_dequeue_signal_data
(
SWIGTYPE_p_switch_core_session
.
getCPtr
(
session
),
SWIGTYPE_p_p_void
.
getCPtr
(
signal_data
));
return
ret
;
}
public
static
switch_status_t
switch_core_session_pass_indication
(
SWIGTYPE_p_switch_core_session
session
,
switch_core_session_message_types_t
indication
)
{
switch_status_t
ret
=
(
switch_status_t
)
freeswitchPINVOKE
.
switch_core_session_pass_indication
(
SWIGTYPE_p_switch_core_session
.
getCPtr
(
session
),
(
int
)
indication
);
return
ret
;
...
...
@@ -3287,6 +3297,11 @@ public class freeswitch {
return
ret
;
}
public
static
int
switch_channel_check_signal
(
SWIGTYPE_p_switch_channel
channel
,
switch_bool_t
in_thread_only
)
{
int
ret
=
freeswitchPINVOKE
.
switch_channel_check_signal
(
SWIGTYPE_p_switch_channel
.
getCPtr
(
channel
),
(
int
)
in_thread_only
);
return
ret
;
}
public
static
int
switch_channel_test_ready
(
SWIGTYPE_p_switch_channel
channel
,
switch_bool_t
check_ready
,
switch_bool_t
check_media
)
{
int
ret
=
freeswitchPINVOKE
.
switch_channel_test_ready
(
SWIGTYPE_p_switch_channel
.
getCPtr
(
channel
),
(
int
)
check_ready
,
(
int
)
check_media
);
return
ret
;
...
...
@@ -3335,6 +3350,12 @@ public class freeswitch {
return
ret
;
}
public
static
SWIGTYPE_p_switch_call_cause_t
switch_channel_get_cause_ptr
(
SWIGTYPE_p_switch_channel
channel
)
{
IntPtr
cPtr
=
freeswitchPINVOKE
.
switch_channel_get_cause_ptr
(
SWIGTYPE_p_switch_channel
.
getCPtr
(
channel
));
SWIGTYPE_p_switch_call_cause_t
ret
=
(
cPtr
==
IntPtr
.
Zero
)
?
null
:
new
SWIGTYPE_p_switch_call_cause_t
(
cPtr
,
false
);
return
ret
;
}
public
static
string
switch_channel_cause2str
(
switch_call_cause_t
cause
)
{
string
ret
=
freeswitchPINVOKE
.
switch_channel_cause2str
((
int
)
cause
);
return
ret
;
...
...
@@ -4203,6 +4224,11 @@ public class freeswitch {
return
ret
;
}
public
static
switch_status_t
switch_ivr_parse_all_signal_data
(
SWIGTYPE_p_switch_core_session
session
)
{
switch_status_t
ret
=
(
switch_status_t
)
freeswitchPINVOKE
.
switch_ivr_parse_all_signal_data
(
SWIGTYPE_p_switch_core_session
.
getCPtr
(
session
));
return
ret
;
}
public
static
switch_status_t
switch_ivr_sleep
(
SWIGTYPE_p_switch_core_session
session
,
uint
ms
,
switch_bool_t
sync
,
switch_input_args_t
args
)
{
switch_status_t
ret
=
(
switch_status_t
)
freeswitchPINVOKE
.
switch_ivr_sleep
(
SWIGTYPE_p_switch_core_session
.
getCPtr
(
session
),
ms
,
(
int
)
sync
,
switch_input_args_t
.
getCPtr
(
args
));
return
ret
;
...
...
@@ -7851,6 +7877,12 @@ class freeswitchPINVOKE {
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_core_session_free_message"
)]
public
static
extern
void
switch_core_session_free_message
(
HandleRef
jarg1
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_core_session_queue_signal_data"
)]
public
static
extern
int
switch_core_session_queue_signal_data
(
HandleRef
jarg1
,
HandleRef
jarg2
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_core_session_dequeue_signal_data"
)]
public
static
extern
int
switch_core_session_dequeue_signal_data
(
HandleRef
jarg1
,
HandleRef
jarg2
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_core_session_pass_indication"
)]
public
static
extern
int
switch_core_session_pass_indication
(
HandleRef
jarg1
,
int
jarg2
);
...
...
@@ -11658,6 +11690,9 @@ class freeswitchPINVOKE {
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_channel_get_running_state"
)]
public
static
extern
int
switch_channel_get_running_state
(
HandleRef
jarg1
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_channel_check_signal"
)]
public
static
extern
int
switch_channel_check_signal
(
HandleRef
jarg1
,
int
jarg2
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_channel_test_ready"
)]
public
static
extern
int
switch_channel_test_ready
(
HandleRef
jarg1
,
int
jarg2
,
int
jarg3
);
...
...
@@ -11688,6 +11723,9 @@ class freeswitchPINVOKE {
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_channel_get_cause_q850"
)]
public
static
extern
int
switch_channel_get_cause_q850
(
HandleRef
jarg1
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_channel_get_cause_ptr"
)]
public
static
extern
IntPtr
switch_channel_get_cause_ptr
(
HandleRef
jarg1
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_channel_cause2str"
)]
public
static
extern
string
switch_channel_cause2str
(
int
jarg1
);
...
...
@@ -12504,6 +12542,9 @@ class freeswitchPINVOKE {
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_ivr_parse_all_messages"
)]
public
static
extern
int
switch_ivr_parse_all_messages
(
HandleRef
jarg1
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_ivr_parse_all_signal_data"
)]
public
static
extern
int
switch_ivr_parse_all_signal_data
(
HandleRef
jarg1
);
[
DllImport
(
"mod_managed"
,
EntryPoint
=
"CSharp_switch_ivr_sleep"
)]
public
static
extern
int
switch_ivr_sleep
(
HandleRef
jarg1
,
uint
jarg2
,
int
jarg3
,
HandleRef
jarg4
);
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论