equal
deleted
inserted
replaced
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 |
21 |
22 /* |
22 /* |
23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. |
24 * Use is subject to license terms. |
25 */ |
25 */ |
26 |
26 |
27 #ifndef _LIBZFS_H |
27 #ifndef _LIBZFS_H |
28 #define _LIBZFS_H |
28 #define _LIBZFS_H |
464 extern int zfs_perm_remove(zfs_handle_t *, nvlist_t *); |
464 extern int zfs_perm_remove(zfs_handle_t *, nvlist_t *); |
465 extern int zfs_build_perms(zfs_handle_t *, char *, char *, |
465 extern int zfs_build_perms(zfs_handle_t *, char *, char *, |
466 zfs_deleg_who_type_t, zfs_deleg_inherit_t, nvlist_t **nvlist_t); |
466 zfs_deleg_who_type_t, zfs_deleg_inherit_t, nvlist_t **nvlist_t); |
467 extern int zfs_perm_get(zfs_handle_t *, zfs_allow_t **); |
467 extern int zfs_perm_get(zfs_handle_t *, zfs_allow_t **); |
468 extern void zfs_free_allows(zfs_allow_t *); |
468 extern void zfs_free_allows(zfs_allow_t *); |
|
469 extern void zfs_deleg_permissions(void); |
469 |
470 |
470 /* |
471 /* |
471 * Mount support functions. |
472 * Mount support functions. |
472 */ |
473 */ |
473 extern boolean_t is_mounted(libzfs_handle_t *, const char *special, char **); |
474 extern boolean_t is_mounted(libzfs_handle_t *, const char *special, char **); |