1248435Smm/* 2248435Smm * CDDL HEADER START 3248435Smm * 4248435Smm * The contents of this file are subject to the terms of the 5248435Smm * Common Development and Distribution License (the "License"). 6248435Smm * You may not use this file except in compliance with the License. 7248435Smm * 8248435Smm * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9248435Smm * or http://www.opensolaris.org/os/licensing. 10248435Smm * See the License for the specific language governing permissions 11248435Smm * and limitations under the License. 12248435Smm * 13248435Smm * When distributing Covered Code, include this CDDL HEADER in each 14248435Smm * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15248435Smm * If applicable, add the following below this CDDL HEADER, with the 16248435Smm * fields enclosed by brackets "[]" replaced with your own identifying 17248435Smm * information: Portions Copyright [yyyy] [name of copyright owner] 18248435Smm * 19248435Smm * CDDL HEADER END 20248435Smm */ 21248435Smm 22248435Smm/* 23248435Smm * Copyright (c) 2013 by Martin Matuska <mm@FreeBSD.org>. All rights reserved. 24248435Smm */ 25248435Smm 26248435Smm#ifndef _LIBZFS_CORE_COMPAT_H 27248435Smm#define _LIBZFS_CORE_COMPAT_H 28248435Smm 29248435Smm#include <libnvpair.h> 30248435Smm#include <sys/param.h> 31248435Smm#include <sys/types.h> 32248435Smm#include <sys/fs/zfs.h> 33248435Smm#include <sys/zfs_ioctl.h> 34248435Smm 35248435Smm#ifdef __cplusplus 36248435Smmextern "C" { 37248435Smm#endif 38248435Smm 39248435Smmint lzc_compat_pre(zfs_cmd_t *, zfs_ioc_t *, nvlist_t **); 40248435Smmvoid lzc_compat_post(zfs_cmd_t *, const zfs_ioc_t); 41248435Smmint lzc_compat_outnvl(zfs_cmd_t *, const zfs_ioc_t, nvlist_t **); 42248435Smm 43248435Smm#ifdef __cplusplus 44248435Smm} 45248435Smm#endif 46248435Smm 47248435Smm#endif /* _LIBZFS_CORE_COMPAT_H */ 48