Merge commit 'b31320a79e2054c6739b5229259dbf98f3afc547' into merges
[unleashed.git] / share / man / man3dat / dat_rsp_query.3dat
blob5a732719f2393e0de0d69d2b10f7a25c46c7fcde
1 '\" te
2 .\" This manual page is derived from the DAT/uDAPL 1.2 specification.
3 .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH DAT_RSP_QUERY 3DAT "Jul 16, 2004"
8 .SH NAME
9 dat_rsp_query \- provide parameters of the Reserved Service Point
10 .SH SYNOPSIS
11 .LP
12 .nf
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ]
14 #include <\fBdat/udat.h\fR>
16 DAT_RETURN
17     dat_rsp_query (
18     IN    DAT_RSP_HANDLE        rsp_handle,
19     IN    DAT_RSP_PARAM_MASK    rsp_param_mask,
20     OUT   DAT_RSP_PARAM         *rsp_param
21     )
22 .fi
24 .SH PARAMETERS
25 .sp
26 .ne 2
27 .na
28 \fB\fIrsp_handle\fR\fR
29 .ad
30 .RS 18n
31 Handle for an instance of Reserved Service Point
32 .RE
34 .sp
35 .ne 2
36 .na
37 \fB\fIrsp_param_mask\fR\fR
38 .ad
39 .RS 18n
40 Mask for RSP parameters.
41 .RE
43 .sp
44 .ne 2
45 .na
46 \fB\fIrsp_param\fR\fR
47 .ad
48 .RS 18n
49 Pointer to a Consumer-allocated structure that the Provider fills for
50 Consumer-requested parameters.
51 .RE
53 .SH DESCRIPTION
54 .sp
55 .LP
56 The \fBdat_rsp_query()\fR function provides to the Consumer parameters of the
57 Reserved Service Point. The Consumer passes in a pointer to the
58 Consumer-allocated structures for RSP parameters that the Provider fills.
59 .sp
60 .LP
61 The \fIrsp_param_mask\fR parameter allows Consumers to specify which parameters
62 to query. The Provider returns values for \fIrsp_param_mask\fR requested
63 parameters. The Provider can return values for any other parameters.
64 .SH RETURN VALUES
65 .sp
66 .ne 2
67 .na
68 \fB\fBDAT_SUCCESS\fR\fR
69 .ad
70 .RS 25n
71 The operation was successful.
72 .RE
74 .sp
75 .ne 2
76 .na
77 \fB\fBDAT_INVALID_HANDLE\fR\fR
78 .ad
79 .RS 25n
80 The \fIrsp_handle\fR parameter is invalid.
81 .RE
83 .sp
84 .ne 2
85 .na
86 \fB\fBDAT_INVALID_PARAMETER\fR\fR
87 .ad
88 .RS 25n
89 The \fIrsp_param_mask\fR parameter is invalid.
90 .RE
92 .SH ATTRIBUTES
93 .sp
94 .LP
95 See \fBattributes\fR(5) for descriptions of the following attributes:
96 .sp
98 .sp
99 .TS
100 box;
101 c | c
102 l | l .
103 ATTRIBUTE TYPE  ATTRIBUTE VALUE
105 Interface Stability     Standard: uDAPL, 1.1, 1.2
107 MT-Level        Safe
110 .SH SEE ALSO
113 \fBlibdat\fR(3LIB), \fBattributes\fR(5)