ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * CDDL HEADER START
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * The contents of this file are subject to the terms of the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * Common Development and Distribution License (the "License").
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * You may not use this file except in compliance with the License.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * See the License for the specific language governing permissions
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * and limitations under the License.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * When distributing Covered Code, include this CDDL HEADER in each
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * If applicable, add the following below this CDDL HEADER, with the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * fields enclosed by brackets "[]" replaced with your own identifying
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * information: Portions Copyright [yyyy] [name of copyright owner]
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * CDDL HEADER END
98d1cbfec254295273b6a761bc1861c0374bdf02George Wilson * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrockextern "C" {
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrocktypedef enum {
98d1cbfec254295273b6a761bc1861c0374bdf02George Wilson TYPE_LABEL_PAD1, /* label specific 8K pad1 area */
98d1cbfec254295273b6a761bc1861c0374bdf02George Wilson TYPE_LABEL_PAD2, /* label specific 8K pad2 area */
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrockint translate_record(err_type_t type, const char *object, const char *range,
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock int level, zinject_record_t *record, char *poolname, char *dataset);
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrockint translate_raw(const char *raw, zinject_record_t *record);
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrockint translate_device(const char *pool, const char *device,
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#endif /* _ZINJECT_H */