Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
f47ecb25
提交
f47ecb25
authored
7月 03, 2014
作者:
Kathleen King
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Changed the variable name for clarity.
上级
0efcc9b9
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
8 行增加
和
8 行删除
+8
-8
switch_apr.h
src/include/switch_apr.h
+8
-8
没有找到文件。
src/include/switch_apr.h
浏览文件 @
f47ecb25
...
@@ -79,12 +79,12 @@ SWITCH_DECLARE(int) switch_thread_equal(switch_thread_id_t tid1, switch_thread_i
...
@@ -79,12 +79,12 @@ SWITCH_DECLARE(int) switch_thread_equal(switch_thread_id_t tid1, switch_thread_i
/**
/**
* Clear all memory in the pool and run all the cleanups. This also destroys all
* Clear all memory in the pool and run all the cleanups. This also destroys all
* subpools.
* subpools.
* @param p The pool to clear
* @param p
ool
The pool to clear
* @remark This does not actually free the memory, it just allows the pool
* @remark This does not actually free the memory, it just allows the pool
* to re-use this memory for the next allocation.
* to re-use this memory for the next allocation.
* @see apr_pool_destroy()
* @see apr_pool_destroy()
*/
*/
SWITCH_DECLARE
(
void
)
switch_pool_clear
(
switch_memory_pool_t
*
p
);
SWITCH_DECLARE
(
void
)
switch_pool_clear
(
switch_memory_pool_t
*
p
ool
);
/** @} */
/** @} */
...
@@ -137,7 +137,7 @@ SWITCH_DECLARE(char *) switch_copy_string(_Out_z_cap_(dst_size)
...
@@ -137,7 +137,7 @@ SWITCH_DECLARE(char *) switch_copy_string(_Out_z_cap_(dst_size)
* progress at the same time.
* progress at the same time.
*/
*/
SWITCH_DECLARE(switch_hash_index_t *) switch_core_hash_first(switch_memory_pool_t *p, switch_hash_t *ht);
SWITCH_DECLARE(switch_hash_index_t *) switch_core_hash_first(switch_memory_pool_t *p
ool
, switch_hash_t *ht);
/**
/**
* Continue iterating over the entries in a hash table.
* Continue iterating over the entries in a hash table.
...
@@ -1308,7 +1308,7 @@ SWITCH_DECLARE(switch_status_t) switch_mcast_interface(switch_socket_t *sock, sw
...
@@ -1308,7 +1308,7 @@ SWITCH_DECLARE(switch_status_t) switch_mcast_interface(switch_socket_t *sock, sw
* Setup a pollset object
* Setup a pollset object
* @param pollset The pointer in which to return the newly created object
* @param pollset The pointer in which to return the newly created object
* @param size The maximum number of descriptors that this pollset can hold
* @param size The maximum number of descriptors that this pollset can hold
* @param p The pool from which to allocate the pollset
* @param p
ool
The pool from which to allocate the pollset
* @param flags Optional flags to modify the operation of the pollset.
* @param flags Optional flags to modify the operation of the pollset.
*
*
* @remark If flags equals APR_POLLSET_THREADSAFE, then a pollset is
* @remark If flags equals APR_POLLSET_THREADSAFE, then a pollset is
...
@@ -1318,7 +1318,7 @@ SWITCH_DECLARE(switch_status_t) switch_mcast_interface(switch_socket_t *sock, sw
...
@@ -1318,7 +1318,7 @@ SWITCH_DECLARE(switch_status_t) switch_mcast_interface(switch_socket_t *sock, sw
* platforms; the apr_pollset_create() call will fail with
* platforms; the apr_pollset_create() call will fail with
* APR_ENOTIMPL on platforms where it is not supported.
* APR_ENOTIMPL on platforms where it is not supported.
*/
*/
SWITCH_DECLARE
(
switch_status_t
)
switch_pollset_create
(
switch_pollset_t
**
pollset
,
uint32_t
size
,
switch_memory_pool_t
*
p
,
uint32_t
flags
);
SWITCH_DECLARE
(
switch_status_t
)
switch_pollset_create
(
switch_pollset_t
**
pollset
,
uint32_t
size
,
switch_memory_pool_t
*
p
ool
,
uint32_t
flags
);
/**
/**
* Add a socket or file descriptor to a pollset
* Add a socket or file descriptor to a pollset
...
@@ -1391,7 +1391,7 @@ SWITCH_DECLARE(switch_status_t) switch_socket_create_pollset(switch_pollfd_t **
...
@@ -1391,7 +1391,7 @@ SWITCH_DECLARE(switch_status_t) switch_socket_create_pollset(switch_pollfd_t **
/*!
/*!
\brief Create a pollfd out of a socket
\brief Create a pollfd out of a socket
\param poll
the po
lfd to create
\param poll
fd the pol
lfd to create
\param sock the socket to add
\param sock the socket to add
\param flags the flags to modify the behaviour
\param flags the flags to modify the behaviour
\param client_data custom user data
\param client_data custom user data
...
@@ -1399,7 +1399,7 @@ SWITCH_DECLARE(switch_status_t) switch_socket_create_pollset(switch_pollfd_t **
...
@@ -1399,7 +1399,7 @@ SWITCH_DECLARE(switch_status_t) switch_socket_create_pollset(switch_pollfd_t **
\return SWITCH_STATUS_SUCCESS when successful
\return SWITCH_STATUS_SUCCESS when successful
*/
*/
SWITCH_DECLARE
(
switch_status_t
)
switch_socket_create_pollfd
(
switch_pollfd_t
**
pollfd
,
switch_socket_t
*
sock
,
int16_t
flags
,
void
*
client_data
,
switch_memory_pool_t
*
pool
);
SWITCH_DECLARE
(
switch_status_t
)
switch_socket_create_pollfd
(
switch_pollfd_t
**
pollfd
,
switch_socket_t
*
sock
,
int16_t
flags
,
void
*
client_data
,
switch_memory_pool_t
*
pool
);
SWITCH_DECLARE
(
switch_status_t
)
switch_match_glob
(
const
char
*
pattern
,
switch_array_header_t
**
result
,
switch_memory_pool_t
*
p
);
SWITCH_DECLARE
(
switch_status_t
)
switch_match_glob
(
const
char
*
pattern
,
switch_array_header_t
**
result
,
switch_memory_pool_t
*
p
ool
);
SWITCH_DECLARE
(
switch_status_t
)
switch_os_sock_get
(
switch_os_socket_t
*
thesock
,
switch_socket_t
*
sock
);
SWITCH_DECLARE
(
switch_status_t
)
switch_os_sock_get
(
switch_os_socket_t
*
thesock
,
switch_socket_t
*
sock
);
SWITCH_DECLARE
(
switch_status_t
)
switch_socket_addr_get
(
switch_sockaddr_t
**
sa
,
switch_bool_t
remote
,
switch_socket_t
*
sock
);
SWITCH_DECLARE
(
switch_status_t
)
switch_socket_addr_get
(
switch_sockaddr_t
**
sa
,
switch_bool_t
remote
,
switch_socket_t
*
sock
);
...
@@ -1409,7 +1409,7 @@ SWITCH_DECLARE(switch_status_t) switch_socket_addr_get(switch_sockaddr_t ** sa,
...
@@ -1409,7 +1409,7 @@ SWITCH_DECLARE(switch_status_t) switch_socket_addr_get(switch_sockaddr_t ** sa,
* @param out The file descriptor to use as output from the pipe.
* @param out The file descriptor to use as output from the pipe.
* @param pool The pool to operate on.
* @param pool The pool to operate on.
*/
*/
SWITCH_DECLARE
(
switch_status_t
)
switch_file_pipe_create
(
switch_file_t
**
in
,
switch_file_t
**
out
,
switch_memory_pool_t
*
p
);
SWITCH_DECLARE
(
switch_status_t
)
switch_file_pipe_create
(
switch_file_t
**
in
,
switch_file_t
**
out
,
switch_memory_pool_t
*
p
ool
);
/**
/**
* Get the timeout value for a pipe or manipulate the blocking state.
* Get the timeout value for a pipe or manipulate the blocking state.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论