diff options
author | ek110237 <none@none> | 2007-01-18 14:25:26 -0800 |
---|---|---|
committer | ek110237 <none@none> | 2007-01-18 14:25:26 -0800 |
commit | 55434c770c89aa1b84474f2559a106803511aba0 (patch) | |
tree | 0b264887f9fd7111732d95873d02a27dc5c4e8c0 /usr/src/lib/libzfs/common/libzfs.h | |
parent | bf7c2d400a7b538aed6f356c7107284378a19fa8 (diff) | |
download | illumos-joyent-55434c770c89aa1b84474f2559a106803511aba0.tar.gz |
6410433 'zpool status -v' would be more useful with filenames
6504702 zdb -dddv <poolname> chokes on xattrs
6506506 spa_history.c: LE_64(reclen) needs to be cast to uint64_t in case of 32-bit big-endian kernel
Diffstat (limited to 'usr/src/lib/libzfs/common/libzfs.h')
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs.h b/usr/src/lib/libzfs/common/libzfs.h index 220c280369..2dd7326918 100644 --- a/usr/src/lib/libzfs/common/libzfs.h +++ b/usr/src/lib/libzfs/common/libzfs.h @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -203,7 +203,7 @@ extern zpool_status_t zpool_import_status(nvlist_t *, char **); */ extern nvlist_t *zpool_get_config(zpool_handle_t *, nvlist_t **); extern int zpool_refresh_stats(zpool_handle_t *, boolean_t *); -extern int zpool_get_errlog(zpool_handle_t *, nvlist_t ***, size_t *); +extern int zpool_get_errlog(zpool_handle_t *, nvlist_t **); /* * Import and export functions @@ -225,6 +225,8 @@ extern int zpool_upgrade(zpool_handle_t *); extern int zpool_get_history(zpool_handle_t *, nvlist_t **); extern void zpool_log_history(libzfs_handle_t *, int, char **, const char *, boolean_t, boolean_t); +extern void zpool_obj_to_path(zpool_handle_t *, uint64_t, uint64_t, char *, + size_t len); /* * Basic handle manipulations. These functions do not create or destroy the @@ -321,6 +323,7 @@ extern int zfs_enable(zfs_handle_t *); /* * Mount support functions. */ +extern boolean_t is_mounted(libzfs_handle_t *, const char *special, char **); extern boolean_t zfs_is_mounted(zfs_handle_t *, char **); extern int zfs_mount(zfs_handle_t *, const char *, int); extern int zfs_unmount(zfs_handle_t *, const char *, int); |