summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLOLi <[email protected]>2017-09-09 00:24:31 +0200
committerBrian Behlendorf <[email protected]>2017-09-08 15:24:31 -0700
commit835db58592d7d947e5818eb7281882e2a46073e0 (patch)
tree5f99c47d3fa3ab2d18aeafb4b7be90975984f747 /include
parent57858fb5ca4b1d0f28b054cb5e15aaf3bc54c99e (diff)
Add -vnP support to 'zfs send' for bookmarks
This leverages the functionality introduced in cf7684b to expose verbose, dry-run and parsable 'zfs send' options for bookmarks. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #3666 Closes #6601
Diffstat (limited to 'include')
-rw-r--r--include/libzfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libzfs.h b/include/libzfs.h
index b5c35c491..df8d738b7 100644
--- a/include/libzfs.h
+++ b/include/libzfs.h
@@ -677,7 +677,7 @@ typedef boolean_t (snapfilter_cb_t)(zfs_handle_t *, void *);
extern int zfs_send(zfs_handle_t *, const char *, const char *,
sendflags_t *, int, snapfilter_cb_t, void *, nvlist_t **);
-extern int zfs_send_one(zfs_handle_t *, const char *, int, enum lzc_send_flags);
+extern int zfs_send_one(zfs_handle_t *, const char *, int, sendflags_t flags);
extern int zfs_send_resume(libzfs_handle_t *, sendflags_t *, int outfd,
const char *);
extern nvlist_t *zfs_send_resume_token_to_nvlist(libzfs_handle_t *hdl,