Changeset 582 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Jul 3, 2006 3:19:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r542 r582 252 252 PJ_INLINE(void) pjsua_logging_config_default(pjsua_logging_config *cfg) 253 253 { 254 pj_ memset(cfg, 0, sizeof(*cfg));254 pj_bzero(cfg, sizeof(*cfg)); 255 255 256 256 cfg->msg_logging = PJ_TRUE; … … 428 428 PJ_INLINE(void) pjsua_config_default(pjsua_config *cfg) 429 429 { 430 pj_ memset(cfg, 0, sizeof(*cfg));430 pj_bzero(cfg, sizeof(*cfg)); 431 431 432 432 cfg->max_calls = 4; … … 504 504 PJ_INLINE(void) pjsua_msg_data_init(pjsua_msg_data *msg_data) 505 505 { 506 pj_ memset(msg_data, 0, sizeof(*msg_data));506 pj_bzero(msg_data, sizeof(*msg_data)); 507 507 pj_list_init(&msg_data->hdr_list); 508 508 } … … 704 704 PJ_INLINE(void) pjsua_stun_config_default(pjsua_stun_config *cfg) 705 705 { 706 pj_ memset(cfg, 0, sizeof(*cfg));706 pj_bzero(cfg, sizeof(*cfg)); 707 707 } 708 708 … … 747 747 PJ_INLINE(void) pjsua_transport_config_default(pjsua_transport_config *cfg) 748 748 { 749 pj_ memset(cfg, 0, sizeof(*cfg));749 pj_bzero(cfg, sizeof(*cfg)); 750 750 } 751 751 … … 1073 1073 PJ_INLINE(void) pjsua_acc_config_default(pjsua_acc_config *cfg) 1074 1074 { 1075 pj_ memset(cfg, 0, sizeof(*cfg));1075 pj_bzero(cfg, sizeof(*cfg)); 1076 1076 1077 1077 cfg->reg_timeout = PJSUA_REG_INTERVAL; … … 2059 2059 PJ_INLINE(void) pjsua_media_config_default(pjsua_media_config *cfg) 2060 2060 { 2061 pj_ memset(cfg, 0, sizeof(*cfg));2061 pj_bzero(cfg, sizeof(*cfg)); 2062 2062 2063 2063 cfg->clock_rate = 16000;
Note: See TracChangeset
for help on using the changeset viewer.