summaryrefslogtreecommitdiffstats
path: root/include/libzfs.h
diff options
context:
space:
mode:
authorPaul Dagnelie <[email protected]>2020-05-20 10:05:33 -0700
committerGitHub <[email protected]>2020-05-20 10:05:33 -0700
commitde4f06c275430937026e328f48438cc799eba987 (patch)
tree67669bf44cffccbf492a1ca8d1affe7b51f32078 /include/libzfs.h
parent7b0e39030c6b887f9e9e158f3a312dbbeb127e33 (diff)
Small program that converts a dataset id and an object id to a path
Small program that converts a dataset id and an object id to a path Reviewed-by: Prakash Surya <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Signed-off-by: Paul Dagnelie <[email protected]> Closes #10204
Diffstat (limited to 'include/libzfs.h')
-rw-r--r--include/libzfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libzfs.h b/include/libzfs.h
index dd013ad0c..551b6ae74 100644
--- a/include/libzfs.h
+++ b/include/libzfs.h
@@ -441,8 +441,10 @@ extern int zpool_events_next(libzfs_handle_t *, nvlist_t **, int *, unsigned,
int);
extern int zpool_events_clear(libzfs_handle_t *, int *);
extern int zpool_events_seek(libzfs_handle_t *, uint64_t, int);
+extern void zpool_obj_to_path_ds(zpool_handle_t *, uint64_t, uint64_t, char *,
+ size_t);
extern void zpool_obj_to_path(zpool_handle_t *, uint64_t, uint64_t, char *,
- size_t len);
+ size_t);
extern int zfs_ioctl(libzfs_handle_t *, int, struct zfs_cmd *);
extern int zpool_get_physpath(zpool_handle_t *, char *, size_t);
extern void zpool_explain_recover(libzfs_handle_t *, const char *, int,