Lines Matching defs:_sip_msg

127 	_sip_msg_t 	*_sip_msg;
132 _sip_msg = (_sip_msg_t *)sip_msg;
133 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
134 if (_sip_msg->sip_msg_cannot_be_modified) {
135 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
143 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
150 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, hdr_name);
151 if (_sip_msg->sip_msg_buf != NULL)
152 _sip_msg->sip_msg_modified = B_TRUE;
153 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
167 _sip_msg_t *_sip_msg;
175 _sip_msg = (_sip_msg_t *)sip_msg;
176 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
177 if (_sip_msg->sip_msg_cannot_be_modified) {
178 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
196 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
223 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
224 if (_sip_msg->sip_msg_buf != NULL)
225 _sip_msg->sip_msg_modified = B_TRUE;
226 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
240 _sip_msg_t *_sip_msg;
245 _sip_msg = (_sip_msg_t *)sip_msg;
246 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
247 if (_sip_msg->sip_msg_cannot_be_modified) {
248 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
263 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
274 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
275 if (_sip_msg->sip_msg_buf != NULL)
276 _sip_msg->sip_msg_modified = B_TRUE;
277 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
290 _sip_msg_t *_sip_msg;
296 _sip_msg = (_sip_msg_t *)sip_msg;
297 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
298 if (_sip_msg->sip_msg_cannot_be_modified) {
299 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
321 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
335 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
336 if (_sip_msg->sip_msg_buf != NULL)
337 _sip_msg->sip_msg_modified = B_TRUE;
338 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
352 _sip_msg_t *_sip_msg;
358 _sip_msg = (_sip_msg_t *)sip_msg;
359 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
360 if (_sip_msg->sip_msg_cannot_be_modified) {
361 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
370 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
385 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
400 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
401 if (_sip_msg->sip_msg_buf != NULL)
402 _sip_msg->sip_msg_modified = B_TRUE;
403 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1016 _sip_msg_t *_sip_msg;
1024 _sip_msg = (_sip_msg_t *)sip_msg;
1025 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
1026 if (_sip_msg->sip_msg_cannot_be_modified) {
1027 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1038 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1045 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
1046 if (_sip_msg->sip_msg_buf != NULL)
1047 _sip_msg->sip_msg_modified = B_TRUE;
1048 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1063 _sip_msg_t *_sip_msg;
1071 _sip_msg = (_sip_msg_t *)sip_msg;
1072 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
1073 if (_sip_msg->sip_msg_cannot_be_modified) {
1074 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1085 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1093 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
1094 if (_sip_msg->sip_msg_buf != NULL)
1095 _sip_msg->sip_msg_modified = B_TRUE;
1096 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1396 _sip_msg_t *_sip_msg;
1403 _sip_msg = (_sip_msg_t *)sip_msg;
1404 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
1405 if (_sip_msg->sip_msg_cannot_be_modified) {
1406 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1413 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1416 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
1417 if (_sip_msg->sip_msg_buf != NULL)
1418 _sip_msg->sip_msg_modified = B_TRUE;
1419 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1464 sip_add_content_length(_sip_msg_t *_sip_msg, int length)
1469 if (_sip_msg == NULL || length < 0)
1471 (void) pthread_mutex_lock(&_sip_msg->sip_msg_mutex);
1472 if (_sip_msg->sip_msg_cannot_be_modified) {
1473 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1483 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);
1490 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL);
1491 if (_sip_msg->sip_msg_buf != NULL)
1492 _sip_msg->sip_msg_modified = B_TRUE;
1493 (void) pthread_mutex_unlock(&_sip_msg->sip_msg_mutex);