2 .\" Copyright (c) 2008, Sun Microsystems Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH STMFSETPROVIDERDATA 3STMF "Oct 7, 2008"
8 stmfSetProviderData \- set the data for the specified provider
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lstmf\fR [ \fIlibrary\fR... ]
15 \fBint\fR \fBstmfSetProviderData\fR(\fBchar *\fR\fIproviderName\fR, \fBnvlist_t *\fR\fInvl\fR,
16 \fBint\fR \fIproviderType\fR);
23 \fB\fIproviderName\fR\fR
26 The name of the provider for which data is being set.
35 A pointer to an \fBnvlist_t\fR containing the nvlist to be set.
41 \fB\fIproviderType\fR\fR
44 The value must be either \fBSTMF_LU_PROVIDER_TYPE\fR or
45 \fBSTMF_PORT_PROVIDER_TYPE\fR.
51 The \fBstmfSetProviderData()\fR function sets the data for the specified
56 The following values are returned:
60 \fB\fBSTMF_ERROR_NOMEM\fR\fR
63 The library was unable to allocate sufficient memory to return the data.
69 \fB\fBSTMF_STATUS_SUCCESS\fR\fR
72 The API call was successful.
78 See \fBattributes\fR(5) for descriptions of the following attributes:
86 ATTRIBUTE TYPE ATTRIBUTE VALUE
88 Interface Stability Committed (Obsolete)
96 \fBlibstmf\fR(3LIB), \fBstmfSetProviderDataProt\fR(3STMF), \fBattributes\fR(5)
100 The \fBstmfSetProviderData()\fR function is deprecated in favor of
101 \fBstmfSetProviderDataProt\fR(3STMF) and may be removed in a future revision of