changeset 13509 | 04570f5cbeca |
parent 13055 | 8c712bbb18ea |
child 13512 | 060607df0c9d |
13508:bf0e4028ac3a | 13509:04570f5cbeca |
---|---|
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 |
21 |
22 /* |
22 /* |
23 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
24 * Copyright (c) 2011 by Delphix. All rights reserved. |
|
24 */ |
25 */ |
25 |
26 |
26 #ifndef _LIBFS_IMPL_H |
27 #ifndef _LIBFS_IMPL_H |
27 #define _LIBFS_IMPL_H |
28 #define _LIBFS_IMPL_H |
28 |
29 |
113 nvlist_t *zpool_old_config; |
114 nvlist_t *zpool_old_config; |
114 nvlist_t *zpool_props; |
115 nvlist_t *zpool_props; |
115 diskaddr_t zpool_start_block; |
116 diskaddr_t zpool_start_block; |
116 }; |
117 }; |
117 |
118 |
118 typedef enum { |
119 typedef enum { |
119 PROTO_NFS = 0, |
120 PROTO_NFS = 0, |
120 PROTO_SMB = 1, |
121 PROTO_SMB = 1, |
121 PROTO_END = 2 |
122 PROTO_END = 2 |
122 } zfs_share_proto_t; |
123 } zfs_share_proto_t; |
123 |
124 |
145 int zpool_standard_error(libzfs_handle_t *, int, const char *); |
146 int zpool_standard_error(libzfs_handle_t *, int, const char *); |
146 int zpool_standard_error_fmt(libzfs_handle_t *, int, const char *, ...); |
147 int zpool_standard_error_fmt(libzfs_handle_t *, int, const char *, ...); |
147 |
148 |
148 int get_dependents(libzfs_handle_t *, boolean_t, const char *, char ***, |
149 int get_dependents(libzfs_handle_t *, boolean_t, const char *, char ***, |
149 size_t *); |
150 size_t *); |
151 zfs_handle_t *make_dataset_handle_zc(libzfs_handle_t *, zfs_cmd_t *); |
|
150 |
152 |
151 |
153 |
152 int zprop_parse_value(libzfs_handle_t *, nvpair_t *, int, zfs_type_t, |
154 int zprop_parse_value(libzfs_handle_t *, nvpair_t *, int, zfs_type_t, |
153 nvlist_t *, char **, uint64_t *, const char *); |
155 nvlist_t *, char **, uint64_t *, const char *); |
154 int zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, |
156 int zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, |