equal
deleted
inserted
replaced
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 |
21 |
22 /* |
22 /* |
23 * Copyright (c) 2012 by Delphix. All rights reserved. |
23 * Copyright (c) 2013 by Delphix. All rights reserved. |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _LIBZFS_CORE_H |
26 #ifndef _LIBZFS_CORE_H |
27 #define _LIBZFS_CORE_H |
27 #define _LIBZFS_CORE_H |
28 |
28 |
56 int lzc_send_space(const char *snapname, const char *fromsnap, |
56 int lzc_send_space(const char *snapname, const char *fromsnap, |
57 uint64_t *result); |
57 uint64_t *result); |
58 |
58 |
59 boolean_t lzc_exists(const char *dataset); |
59 boolean_t lzc_exists(const char *dataset); |
60 |
60 |
|
61 int lzc_rollback(const char *fsname, char *snapnamebuf, int snapnamelen); |
61 |
62 |
62 #ifdef __cplusplus |
63 #ifdef __cplusplus |
63 } |
64 } |
64 #endif |
65 #endif |
65 |
66 |