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_GET_CONSUMER_CONTEXT 3DAT "Jul 16, 2004"
9 dat_get_consumer_context \- get Consumer context
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ]
14 #include <\fBdat/udat.h\fR>
17 dat_get_consumer_context (
18 IN DAT_HANDLE \fIdat_handle\fR,
19 OUT DAT_CONTEXT *\fIcontext\fR
27 \fB\fIdat_handle\fR\fR
30 Handle for a DAT Object associated with \fIcontext\fR.
39 Pointer to Consumer-allocated storage where the current value of the
40 \fIdat_handle\fR context will be stored.
46 The \fBdat_get_consumer_context()\fR function gets the Consumer context from
47 the specified \fIdat_handle\fR. The \fIdat_handle\fR can be one of the
48 following handle types: \fBDAT_IA_HANDLE\fR, \fBDAT_EP_HANDLE\fR,
49 \fBDAT_EVD_HANDLE\fR, \fBDAT_CR_HANDLE\fR, \fBDAT_RSP_HANDLE\fR,
50 \fBDAT_PSP_HANDLE\fR, \fBDAT_PZ_HANDLE\fR, \fBDAT_LMR_HANDLE\fR,
51 \fBDAT_RMR_HANDLE\fR, or \fBDAT_CNO_HANDLE\fR.
56 \fB\fBDAT_SUCCESS\fR\fR
59 The operation was successful. The Consumer context was successfully retrieved
60 from the specified handle.
66 \fB\fBDAT_INVALID_HANDLE\fR\fR
69 The \fIdat_handle\fR parameter is invalid.
75 See \fBattributes\fR(5) for descriptions of the following attributes:
83 ATTRIBUTE TYPE ATTRIBUTE VALUE
85 Interface Stability Standard: uDAPL, 1.1, 1.2
93 \fBdat_set_consumer_context\fR(3DAT), \fBlibdat\fR(3LIB), \fBattributes\fR(5)