dsl_prop.h revision 3f9d6ad73e45c6823b409f93b0c8d4f62861d2d5
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _SYS_DSL_PROP_H
#define _SYS_DSL_PROP_H
#include <sys/dsl_pool.h>
#include <sys/zfs_context.h>
#include <sys/dsl_synctask.h>
#ifdef __cplusplus
extern "C" {
#endif
struct dsl_dataset;
struct dsl_dir;
/* The callback func may not call into the DMU or DSL! */
typedef struct dsl_prop_cb_record {
struct dsl_dataset *cbr_ds;
const char *cbr_propname;
void *cbr_arg;
typedef struct dsl_props_arg {
typedef struct dsl_prop_set_arg {
const char *psa_name;
int psa_intsz;
int psa_numints;
const void *psa_value;
/*
* Used to handle the special requirements of the quota and reservation
* properties.
*/
#ifdef ZFS_DEBUG
#else
#endif
/* flag first receive on or after SPA_VERSION_RECVD_PROPS */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_DSL_PROP_H */