/*
* 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 1999-2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* l_generic.c :
* This file contains all defined interfaces for libsm.so
*/
#include <fcntl.h>
#include <stdlib.h>
#include "l_defines.h"
extern int32_t call_function(
{
dev_info, "_m_get_device_info");
return (ret_val);
}
{
dev_info, "_m_free_device_info");
return (ret_val);
}
{
med_info, "_m_get_media_info");
return (ret_val);
}
{
return (-1);
}
wp, "_m_set_media_status");
return (ret_val);
}
{
wp, "_m_get_media_status");
return (ret_val);
}
{
&ffl, "_m_media_format");
return (ret_val);
}
{
return (ret_val);
}
{
&r_p, "_m_raw_write");
return (ret_val);
}
{
NULL, "_m_check_format_status");
return (ret_val);
}
{
&block, "_m_reassign_block");
return (ret_val);
}
{
return (ret_val);
}
{
&ft, "_m_media_format_track");
return (ret_val);
}
{
return (get_handle_from_fd(fd));
}
{
}
{
cmd, "_m_uscsi_cmd");
return (ret_val);
}