Lines Matching defs:content
240 * content.
361 * We add the content-length header here, if it has not
462 * Add content (message body) to sip_msg
465 sip_add_content(sip_msg_t sip_msg, char *content)
472 if (sip_msg == NULL || content == NULL || strlen(content) == 0)
474 len = strlen(content);
488 msg_content->sip_content_start = malloc(strlen(content) + 1);
494 (void) strncpy(msg_content->sip_content_start, content,
495 strlen(content));
496 msg_content->sip_content_start[strlen(content)] = '\0';
516 * Free the message content
521 sip_content_t *content;
525 content = sip_msg->sip_msg_content;
526 while (content != NULL) {
529 content_tmp = content;
530 content = content->sip_content_next;