--- a/usr/src/lib/libraidcfg/common/llib-lraidcfg Thu Feb 08 11:58:00 2007 -0800
+++ b/usr/src/lib/libraidcfg/common/llib-lraidcfg Thu Feb 08 18:32:09 2007 -0800
@@ -18,8 +18,6 @@
*
* CDDL HEADER END
*/
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
@@ -28,95 +26,7 @@
#pragma ident "%Z%%M% %I% %E% SMI"
-#include <raidcfg.h>
-
-const char *
-raidcfg_errstr(
- int err_code);
-
-int
-raidcfg_get_controller(
- uint32_t controller_id);
-
-int
-raidcfg_get_array(
- int controller_handle,
- uint64_t target_id,
- uint64_t lun);
-
-int
-raidcfg_get_disk(
- int controller_handle,
- disk_tag_t tag);
-
-int
-raidcfg_open_controller(
- int handle,
- char **plugin_err_str);
-
-int
-raidcfg_close_controller(
- int handle,
- char **plugin_err_str);
-
-int
-raidcfg_get_type(
- int handle);
-
-int
-raidcfg_get_attr(
- int handle,
- void *attr);
-
-int
-raidcfg_get_container(
- int handle);
+/*LINTLIBRARY*/
+/*PROTOLIB1*/
-int
-raidcfg_list_head(
- int handle,
- raid_obj_type_id_t type);
-
-int
-raidcfg_list_next(
- int handle);
-
-int
-raidcfg_set_attr(
- int handle,
- uint32_t set_cmd,
- void *value,
- char **plugin_err_str);
-
-int
-raidcfg_update_fw(
- int handle,
- char *file,
- char **plugin_err_str);
-
-int
-raidcfg_create_array(
- int num_of_comps,
- int *disk_handles,
- uint32_t raid_level,
- uint64_t size,
- uint32_t stripe_size,
- char **plugin_err_str);
-
-int
-raidcfg_delete_array(
- int array_handle,
- char **plugin_err_str);
-
-int
-raidcfg_set_hsp(
- int num,
- raidcfg_hsp_relation_t *hsp_relations,
- char **plugin_err_str);
-
-int
-raidcfg_unset_hsp(
- int num,
- raidcfg_hsp_relation_t *hsp_relations,
- char **plugin_err_str);
-
+#include <raidcfg.h>