Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
5fe2353c
提交
5fe2353c
authored
11月 17, 2007
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add param
git-svn-id:
http://svn.freeswitch.org/svn/freeswitch/trunk@6317
d0543943-73ff-0310-b7d9-9358b9ac24b2
上级
74b563c2
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
76 行增加
和
21 行删除
+76
-21
xmlrpc_amconfig.h.in
libs/xmlrpc-c/xmlrpc_amconfig.h.in
+69
-18
switch_channel.h
src/include/switch_channel.h
+1
-1
mod_dialplan_xml.c
src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c
+1
-1
switch_channel.c
src/switch_channel.c
+5
-1
没有找到文件。
libs/xmlrpc-c/xmlrpc_amconfig.h.in
浏览文件 @
5fe2353c
/* xmlrpc_amconfig.h is generated by 'configure' from the template
/* xmlrpc_amconfig.h.in. Generated from configure.in by autoheader. */
xmlrpc_amconfig.h.in, by virtue of the AM_CONFIG_HEADER() macro in
configure.in.
We'd like to replace it some day with something that doesn't use
/* Define to 1 if you have the `asprintf' function. */
such a special tool, to make the build understandable by dumber
#undef HAVE_ASPRINTF
developers.
*/
/* Define to
`unsigned' if <sys/types.h> doesn't define.
*/
/* Define to
1 if you have the <dlfcn.h> header file.
*/
#undef
size_t
#undef
HAVE_DLFCN_H
#undef HAVE_SETGROUPS
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_ASPRINTF
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `setenv' function. */
#undef HAVE_SETENV
#undef HAVE_SETENV
#undef HAVE_WCSNCMP
/* Define if you have the <stdarg.h> header file. */
/* Define to 1 if you have the `setgroups' function. */
#undef HAVE_SETGROUPS
/* Define to 1 if you have the <stdarg.h> header file. */
#undef HAVE_STDARG_H
#undef HAVE_STDARG_H
/* Define if you have the <sys/filio.h> header file. */
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
#undef HAVE_SYS_FILIO_H
/* Define
if you have the <sys/ioctl.h> header file.
*/
/* Define
to 1 if you have the <sys/ioctl.h> header file.
*/
#undef HAVE_SYS_IOCTL_H
#undef HAVE_SYS_IOCTL_H
/* Define if you have the <wchar.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the <wchar.h> header file. */
#undef HAVE_WCHAR_H
#undef HAVE_WCHAR_H
/* Define
if you have the socket library (-lsocket).
*/
/* Define
to 1 if you have the `wcsncmp' function.
*/
#undef HAVE_
LIBSOCKET
#undef HAVE_
WCSNCMP
/* Name of package */
/* Name of package */
#undef PACKAGE
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t
src/include/switch_channel.h
浏览文件 @
5fe2353c
...
@@ -456,7 +456,7 @@ SWITCH_DECLARE(void) switch_channel_event_set_data(switch_channel_t *channel, sw
...
@@ -456,7 +456,7 @@ SWITCH_DECLARE(void) switch_channel_event_set_data(switch_channel_t *channel, sw
\note it's necessary to test if the return val is the same as the input and free the string if it is not.
\note it's necessary to test if the return val is the same as the input and free the string if it is not.
*/
*/
SWITCH_DECLARE
(
char
*
)
switch_channel_expand_variables
(
switch_channel_t
*
channel
,
char
*
in
);
SWITCH_DECLARE
(
char
*
)
switch_channel_expand_variables
(
switch_channel_t
*
channel
,
char
*
in
);
SWITCH_DECLARE
(
char
*
)
switch_channel_build_param_string
(
switch_channel_t
*
channel
,
switch_caller_profile_t
*
caller_profile
);
SWITCH_DECLARE
(
char
*
)
switch_channel_build_param_string
(
switch_channel_t
*
channel
,
switch_caller_profile_t
*
caller_profile
,
const
char
*
prefix
);
/** @} */
/** @} */
...
...
src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c
浏览文件 @
5fe2353c
...
@@ -186,7 +186,7 @@ static switch_status_t dialplan_xml_locate(switch_core_session_t *session, switc
...
@@ -186,7 +186,7 @@ static switch_status_t dialplan_xml_locate(switch_core_session_t *session, switc
switch_status_t
status
=
SWITCH_STATUS_GENERR
;
switch_status_t
status
=
SWITCH_STATUS_GENERR
;
channel
=
switch_core_session_get_channel
(
session
);
channel
=
switch_core_session_get_channel
(
session
);
data
=
switch_channel_build_param_string
(
channel
,
caller_profile
);
data
=
switch_channel_build_param_string
(
channel
,
caller_profile
,
NULL
);
status
=
switch_xml_locate
(
"dialplan"
,
NULL
,
NULL
,
NULL
,
root
,
node
,
data
);
status
=
switch_xml_locate
(
"dialplan"
,
NULL
,
NULL
,
NULL
,
root
,
node
,
data
);
switch_safe_free
(
data
);
switch_safe_free
(
data
);
...
...
src/switch_channel.c
浏览文件 @
5fe2353c
...
@@ -1510,7 +1510,7 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
...
@@ -1510,7 +1510,7 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
return
data
;
return
data
;
}
}
SWITCH_DECLARE
(
char
*
)
switch_channel_build_param_string
(
switch_channel_t
*
channel
,
switch_caller_profile_t
*
caller_profile
)
SWITCH_DECLARE
(
char
*
)
switch_channel_build_param_string
(
switch_channel_t
*
channel
,
switch_caller_profile_t
*
caller_profile
,
const
char
*
prefix
)
{
{
switch_stream_handle_t
stream
=
{
0
};
switch_stream_handle_t
stream
=
{
0
};
switch_size_t
encode_len
=
1024
,
new_len
=
0
;
switch_size_t
encode_len
=
1024
,
new_len
=
0
;
...
@@ -1522,6 +1522,10 @@ SWITCH_DECLARE(char *) switch_channel_build_param_string(switch_channel_t *chann
...
@@ -1522,6 +1522,10 @@ SWITCH_DECLARE(char *) switch_channel_build_param_string(switch_channel_t *chann
SWITCH_STANDARD_STREAM
(
stream
);
SWITCH_STANDARD_STREAM
(
stream
);
if
(
prefix
)
{
stream
.
write_function
(
&
stream
,
"%s&"
,
prefix
);
}
encode_buf
=
malloc
(
encode_len
);
encode_buf
=
malloc
(
encode_len
);
assert
(
encode_buf
);
assert
(
encode_buf
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论