3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * CDDL HEADER START
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * The contents of this file are subject to the terms of the
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * Common Development and Distribution License (the "License").
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * You may not use this file except in compliance with the License.
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * or http://www.opensolaris.org/os/licensing.
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * See the License for the specific language governing permissions
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * and limitations under the License.
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * When distributing Covered Code, include this CDDL HEADER in each
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * If applicable, add the following below this CDDL HEADER, with the
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * fields enclosed by brackets "[]" replaced with your own identifying
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * information: Portions Copyright [yyyy] [name of copyright owner]
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * CDDL HEADER END
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
643da460c8ca583e39ce053081754e24087f84c8Max Grossman * Copyright (c) 2012, 2014 by Delphix. All rights reserved.
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
a2afb611b30628fb74ad9eade4ae465f9031e262Jerry Jelinek * Copyright (c) 2013, Joyent, Inc. All rights reserved.
c3d26abc9ee97b4f60233556aadeb57e0bd30bb9Matthew Ahrens * Copyright (c) 2014 Integros [integros.com]
9c3fd1216fa7fb02cfbc78a2518a686d54b48ab8Matthew Ahrensextern const char *recv_clone_name;
9c3fd1216fa7fb02cfbc78a2518a686d54b48ab8Matthew Ahrensint dmu_send(const char *tosnap, const char *fromsnap, boolean_t embedok,
5602294fda888d923d57a78bafdaf48ae6223deaDan Kimmel boolean_t large_block_ok, boolean_t compressok, int outfd,
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrensint dmu_send_estimate(struct dsl_dataset *ds, struct dsl_dataset *fromds,
643da460c8ca583e39ce053081754e24087f84c8Max Grossmanint dmu_send_estimate_from_txg(struct dsl_dataset *ds, uint64_t fromtxg,
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrensint dmu_send_obj(const char *pool, uint64_t tosnap, uint64_t fromsnap,
5602294fda888d923d57a78bafdaf48ae6223deaDan Kimmel boolean_t embedok, boolean_t large_block_ok, boolean_t compressok,
9c3fd1216fa7fb02cfbc78a2518a686d54b48ab8Matthew Ahrens boolean_t force, boolean_t resumable, char *origin, dmu_recv_cookie_t *drc);
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrensint dmu_recv_stream(dmu_recv_cookie_t *drc, struct vnode *vp, offset_t *voffp,
91948b51b8e978ddc88a36b2bc3ae83c20cdc9aaKeith M Wesolowskiint dmu_recv_end(dmu_recv_cookie_t *drc, void *owner);
2f3d878000c3b33cde13e16c4f0a1ab15d883a18Matthew Ahrensboolean_t dmu_objset_is_receiving(objset_t *os);
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrens#endif /* _DMU_SEND_H */