JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
SIPAPI Developer's Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  SIP Overview

2.  Oracle Solaris SIP Internals

3.  Multithreading and URI Support

4.  SIP API Functions

Stack Initialization Function

Message Allocation Functions

SIP Header Addition Functions

SIP Request and Response Creation Functions

Header and Message Copying Functions

Header and Value Deleting Functions

Header Lookup Functions

Value Retrieval and Response Description Functions

SIP ID Generating Functions

VIA Functions

SIP Message Sending Function

Processing Inbound Messages

Transaction Layer Functions

Dialog Layer Functions

URI Functions

SIP Header Value Retrieval Functions

Connection Object Functions

Miscellaneous Functions

A.  Examples of Use

B.  Programming with the SIP API

C.  Transaction Timers

Index

Header and Value Deleting Functions

void sip_delete_start_line(sip_msg_t sip_msg);

The sip_delete_start_line() function deletes the start line from the SIP message that is indicated by the value of the sip_msg parameter. The start line can be either the request line or the response line.

int sip_delete_header(sip_header_t sip_header);

The sip_delete_header() function deletes the header that is indicated by the value of the sip_header parameter from its associated SIP message. The function marks that header as deleted. The stack destroys that header when the SIP message is destroyed.

int sip_delete_header_by_name(sip_msg_t sip_msg, char *header_name);

The sip_delete_header_by_name() function deletes the header that is specified by the value of the header_name parameter from the SIP message that is indicated by the value of the sip_msg parameter. The value of the header_name parameter can be either the long name or the compact name for the SIP header. This function marks the header as deleted. The stack destroys this header when it destroys the SIP message.

int sip_delete_value(sip_header_t header, sip_header_value_t value);

The sip_delete_value() function deletes the value that is specified by the sip_value parameter from the header that is specified by the sip_header parameter. The stack marks the value as deleted and destroys the value when it destroys the header.