4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 1998, 2000 by Sun Microsystems, Inc.
24 * All rights reserved.
30 #pragma ident "%Z%%M% %I% %E% SMI"
36 #define METALDPATH_DEFAULT "/usr/lib"
37 #define METATOOLLDPATH_DEFAULT "/usr/sadm/lib/lvm"
41 * Conversion of driver name from cinfo should have occurred,
42 * but something prevented that from taking place.
47 * The library being called doesn't handle this driver so nothing
53 * Conversion completed without errors.
58 meta_convert_e
convert_path(mdname_t
*, struct dk_cinfo
*, mdcinfo_t
*,
63 * While trying to determine information regarding the enclosure,
64 * such as tray, bus, or world wide number and error occurred.
69 * This library doesn't handle this device name. No changes have been
70 * made to the structures.
75 * Successfully determined all pertinent information regarding
81 meta_enclosure_e
get_enclosure(mdname_t
*, mdcinfo_t
*, md_error_t
*);
85 * When one library tries to load another and finds the second
86 * library already locked, lock_and_load will return this value.
91 * If all goes well during a library load we'll receive this
97 * Failed to even open the requested library
102 meta_library_e
lock_and_load(const char *, void **);
103 void unlock_and_unload(void *);
105 char *get_phys_name(char *);
111 #endif /* _METADYN_H */