summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-03 15:19:31 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-03 15:19:31 +0000
commited98898bb501d02e69093d34961bf1fb46d2ed4d (patch)
treee068af64b6db7985a173fe39a7559356608c108d /pjsip/include
parent63147d55f091ec8ba1a5b57cb04b421938ec9fde (diff)
Change all pj_memset to pj_bzero(), where applicable
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 9ada6a8a..771268ab 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -251,7 +251,7 @@ typedef struct pjsua_logging_config
*/
PJ_INLINE(void) pjsua_logging_config_default(pjsua_logging_config *cfg)
{
- pj_memset(cfg, 0, sizeof(*cfg));
+ pj_bzero(cfg, sizeof(*cfg));
cfg->msg_logging = PJ_TRUE;
cfg->level = 5;
@@ -427,7 +427,7 @@ typedef struct pjsua_config
*/
PJ_INLINE(void) pjsua_config_default(pjsua_config *cfg)
{
- pj_memset(cfg, 0, sizeof(*cfg));
+ pj_bzero(cfg, sizeof(*cfg));
cfg->max_calls = 4;
cfg->thread_cnt = 1;
@@ -503,7 +503,7 @@ typedef struct pjsua_msg_data
*/
PJ_INLINE(void) pjsua_msg_data_init(pjsua_msg_data *msg_data)
{
- pj_memset(msg_data, 0, sizeof(*msg_data));
+ pj_bzero(msg_data, sizeof(*msg_data));
pj_list_init(&msg_data->hdr_list);
}
@@ -703,7 +703,7 @@ typedef struct pjsua_stun_config
*/
PJ_INLINE(void) pjsua_stun_config_default(pjsua_stun_config *cfg)
{
- pj_memset(cfg, 0, sizeof(*cfg));
+ pj_bzero(cfg, sizeof(*cfg));
}
@@ -746,7 +746,7 @@ typedef struct pjsua_transport_config
*/
PJ_INLINE(void) pjsua_transport_config_default(pjsua_transport_config *cfg)
{
- pj_memset(cfg, 0, sizeof(*cfg));
+ pj_bzero(cfg, sizeof(*cfg));
}
@@ -1072,7 +1072,7 @@ typedef struct pjsua_acc_config
*/
PJ_INLINE(void) pjsua_acc_config_default(pjsua_acc_config *cfg)
{
- pj_memset(cfg, 0, sizeof(*cfg));
+ pj_bzero(cfg, sizeof(*cfg));
cfg->reg_timeout = PJSUA_REG_INTERVAL;
}
@@ -2058,7 +2058,7 @@ struct pjsua_media_config
*/
PJ_INLINE(void) pjsua_media_config_default(pjsua_media_config *cfg)
{
- pj_memset(cfg, 0, sizeof(*cfg));
+ pj_bzero(cfg, sizeof(*cfg));
cfg->clock_rate = 16000;
cfg->max_media_ports = 32;