xref: /titanic_51/usr/src/man/man3dat/dat_provider_fini.3dat (revision 45e662eb8429b38c18931ebeed30f2e5287ae51b)
te
This manual page is derived from the DAT/uDAPL 1.2 specification.
Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
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]
DAT_PROVIDER_FINI 3DAT "Jul 16, 2004"
NAME
dat_provider_fini - disassociate the Provider from a given IA name
SYNOPSIS

cc [ flag.\|.\|. ] file.\|.\|. -ldat [ library.\|.\|. ]
#include <dat/udat.h>

void
 dat_provider_fini (
 IN const DAT_PROVIDER_INFO *provider_info
 )
PARAMETERS
provider_info

The information that was provided when dat_provider_init was called.

DESCRIPTION

A destructor the Registry calls on a Provider before it disassociates the Provider from a given IA name.

The Provider can use this method to undo any initialization it performed when dat_provider_init(3DAT) was called for the same IA name. The Provider's implementation of this method should call dat_registry_remove_provider(3DAT) to unregister its IA Name. If it does not, the Registry might remove the entry itself.

This method can be called for a given IA name at any time after all open instances of that IA are closed, and is certainly called before the Registry unloads the Provider library. However, it is not called more than once without an intervening call to dat_provider_init() for that IA name.

RETURN VALUES

No values are returned.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Standard: uDAPL, 1.1, 1.2
MT-Level
SEE ALSO

dat_provider_init(3DAT), dat_registry_remove_provider(3DAT), libdat(3LIB), attributes(5)