/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
* 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]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved.
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
*
* MODULE: udat_api.c
*
* PURPOSE: DAT Provider and Consumer registry functions.
*
*/
#include "dat_osd.h"
#include <dat/dat_registry.h>
{
if (DAT_BAD_HANDLE(ia_handle)) {
}
return DAT_LMR_CREATE(ia_handle,
}
{
if (DAT_BAD_HANDLE(ia_handle)) {
}
return DAT_EVD_CREATE(ia_handle,
}
{
if (DAT_BAD_HANDLE(evd_handle)) {
}
return DAT_EVD_MODIFY_CNO(evd_handle,
}
{
if (DAT_BAD_HANDLE(ia_handle)) {
}
return DAT_CNO_CREATE(ia_handle,
}
{
if (DAT_BAD_HANDLE(cno_handle)) {
}
return DAT_CNO_MODIFY_AGENT(cno_handle,
agent);
}
{
if (DAT_BAD_HANDLE(cno_handle)) {
}
return DAT_CNO_QUERY(cno_handle,
}
{
if (DAT_BAD_HANDLE(cno_handle)) {
}
return (DAT_CNO_FREE(cno_handle));
}
{
if (DAT_BAD_HANDLE(cno_handle)) {
}
return DAT_CNO_WAIT(cno_handle,
}
{
if (DAT_BAD_HANDLE(evd_handle)) {
}
return (DAT_EVD_ENABLE(evd_handle));
}
{
if (DAT_BAD_HANDLE(evd_handle)) {
}
return DAT_EVD_WAIT(evd_handle,
}
{
if (DAT_BAD_HANDLE(evd_handle)) {
}
return (DAT_EVD_DISABLE(evd_handle));
}
{
if (DAT_BAD_HANDLE(evd_handle)) {
}
return (DAT_EVD_SET_UNWAITABLE(evd_handle));
}
{
if (DAT_BAD_HANDLE(evd_handle)) {
}
return (DAT_EVD_CLEAR_UNWAITABLE(evd_handle));
}
{
if (DAT_BAD_HANDLE(cr_handle)) {
}
return DAT_CR_HANDOFF(cr_handle,
handoff);
}
{
if (DAT_BAD_HANDLE(ia_handle)) {
}
return DAT_PSP_CREATE_ANY(ia_handle,
}
{
if (DAT_BAD_HANDLE(ia_handle)) {
}
return DAT_IA_QUERY(ia_handle,
}
{
if (DAT_BAD_HANDLE(evd_handle)) {
}
return DAT_EVD_QUERY(evd_handle,
}
{
if (DAT_BAD_HANDLE(lmr_handle)) {
}
return DAT_LMR_QUERY(lmr_handle,
}