Searched defs:_new_msg (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_headers.c370 * Copy all "header_name" headers from _old_msg to _new_msg
373 _sip_find_and_copy_all_header(_sip_msg_t *_old_msg, _sip_msg_t *_new_msg, argument
379 if (_old_msg == NULL || _new_msg == NULL)
384 if (_old_msg != _new_msg)
385 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex);
388 ret = _sip_copy_header(_new_msg, header, NULL, B_TRUE);
393 if (_old_msg != _new_msg)
394 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex);
399 * Copy header_name from _old_msg to _new_msg with extra_parm.
402 _sip_find_and_copy_header(sip_msg_t _old_msg, sip_msg_t _new_msg, argument
432 _sip_msg_t *_new_msg; local
[all...]
H A Dsip_ui.c773 _sip_msg_t *_new_msg = (_sip_msg_t *)new_msg; local
775 if (_old_msg == NULL || _new_msg == NULL || header_name == NULL ||
776 _old_msg == _new_msg) {
779 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex);
780 if (_new_msg->sip_msg_cannot_be_modified) {
781 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex);
786 ret = _sip_find_and_copy_header(_old_msg, _new_msg, header_name, param,
789 if (_new_msg->sip_msg_buf != NULL)
790 _new_msg->sip_msg_modified = B_TRUE;
791 (void) pthread_mutex_unlock(&_new_msg
[all...]

Completed in 46 milliseconds