xref: /titanic_52/usr/src/man/man3dat/dat_registry_remove_provider.3dat (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
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_REGISTRY_REMOVE_PROVIDER 3DAT "Jul 16, 2004"
NAME
dat_registry_remove_provider - unregister the Provider from the Dynamic Registry
SYNOPSIS

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

DAT_RETURN
 dat_registry_remove_provider (
 IN DAT_PROVIDER *provider
 IN const DAT_PROVIDER_INFO *provider_info
 )
PARAMETERS
provider

Self-description of a Provider.

provider_info

Attributes of the Provider.

DESCRIPTION

The Provider removes itself from the Dynamic Registry. It is the Provider's responsibility to complete its sessions. Removal of the registration only prevents new sessions.

The Provider cannot be removed while it is in use. An attempt to remove the Provider while it is in use results in an error with the return code DAT_PROVIDER_IN_USE.

RETURN VALUES
DAT_SUCCESS

The operation was successful.

DAT_INVALID_PARAMETER

Invalid parameter. The Provider was not found.

DAT_PROVIDER_IN_USE

The Provider was in use.

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

libdat(3LIB), attributes(5)