summaryrefslogtreecommitdiff
path: root/usr/src/man/man3sip/sip_add_request_line.3sip
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3sip/sip_add_request_line.3sip')
-rw-r--r--usr/src/man/man3sip/sip_add_request_line.3sip25
1 files changed, 9 insertions, 16 deletions
diff --git a/usr/src/man/man3sip/sip_add_request_line.3sip b/usr/src/man/man3sip/sip_add_request_line.3sip
index 9060f2952d..935bb917c4 100644
--- a/usr/src/man/man3sip/sip_add_request_line.3sip
+++ b/usr/src/man/man3sip/sip_add_request_line.3sip
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH sip_add_request_line 3SIP "25 Jan 2007" "SunOS 5.11" "Session Initiation Protocol Library Functions"
+.TH SIP_ADD_REQUEST_LINE 3SIP "Jan 25, 2007"
.SH NAME
sip_add_request_line, sip_add_response_line \- add a request/response line to a
SIP message
@@ -13,13 +13,13 @@ SIP message
\fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lsip\fR [ \fIlibrary\fR ... ]
#include <sip.h>
-\fBint\fR \fBsip_add_request_line\fR(\fBsip_msg_t\fR \fIsip_request\fR,
+\fBint\fR \fBsip_add_request_line\fR(\fBsip_msg_t\fR \fIsip_request\fR,
\fBsip_method_t\fR \fImethod\fR, \fBchar *\fR\fIrequest_uri\fR);
.fi
.LP
.nf
-\fBint\fR \fIsip_add_response_line\fR(\fBsip_msg_t\fR \fIsip_response\fR,
+\fBint\fR \fIsip_add_response_line\fR(\fBsip_msg_t\fR \fIsip_response\fR,
\fBint\fR \fIresponse_code\fR, \fBchar *\fR\fIresponse_phase\fR);
.fi
@@ -102,34 +102,28 @@ On failure, the \fBsip_add_response_line()\fR and \fBsip_add_request_line()\fR
functions could return one of the following errors:
.sp
.ne 2
-.mk
.na
\fBEINVAL\fR
.ad
.RS 11n
-.rt
If mandatory input is not provided or if the input is invalid.
.RE
.sp
.ne 2
-.mk
.na
\fBENOTSUP\fR
.ad
.RS 11n
-.rt
If the input \fBSIP\fR message cannot be modified.
.RE
.sp
.ne 2
-.mk
.na
\fBENOMEM\fR
.ad
.RS 11n
-.rt
If memory allocation fails when creating the request/response line or when
creating headers in the \fBACK\fR request.
.RE
@@ -142,15 +136,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO