c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * CDDL HEADER START
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * The contents of this file are subject to the terms of the
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * Common Development and Distribution License (the "License").
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * You may not use this file except in compliance with the License.
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * See the License for the specific language governing permissions
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * and limitations under the License.
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * When distributing Covered Code, include this CDDL HEADER in each
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * If applicable, add the following below this CDDL HEADER, with the
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * fields enclosed by brackets "[]" replaced with your own identifying
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * information: Portions Copyright [yyyy] [name of copyright owner]
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * CDDL HEADER END
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirbyextern void zfs_onexit_destroy(zfs_onexit_t *zo);
a7f53a5629374ca27c5696ace9a1946c2ca050f4Chris Kirbyextern int zfs_onexit_fd_hold(int fd, minor_t *minorp);
a7f53a5629374ca27c5696ace9a1946c2ca050f4Chris Kirbyextern int zfs_onexit_add_cb(minor_t minor, void (*func)(void *), void *data,
a7f53a5629374ca27c5696ace9a1946c2ca050f4Chris Kirbyextern int zfs_onexit_del_cb(minor_t minor, uint64_t action_handle,
a7f53a5629374ca27c5696ace9a1946c2ca050f4Chris Kirbyextern int zfs_onexit_cb_data(minor_t minor, uint64_t action_handle,
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby#endif /* _SYS_ZFS_ONEXIT_H */