FreeBSD/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c
/*
 * zfs_parse_options(options, proto)
 *
 * Call the legacy parse interface to get the protocol specific
 * options using the NULL arg to indicate that this is a "parse" only.
 */
zfs_parse_options(options, proto)
Call the legacy parse interface to get the protocol specific
options using the NULL arg to indicate that this is a "parse" only.
zfs_parse_options ( options proto ) Call the legacy parse interface to get the protocol specific options using the NULL arg to indicate that this is a " parse " only .
int
zfs_parse_options(char *options, zfs_share_proto_t proto)
{
#ifdef illumos
	if (_sa_parse_legacy_options != NULL) {
		return (_sa_parse_legacy_options(NULL, options,
		    proto_table[proto].p_name));
	}
	return (SA_CONFIG_ERR);
#else
	return (SA_OK);
#endif
}
int zfs_parse_options ( char * options , zfs_share_proto_t proto ) { #ifdef illumos if ( _sa_parse_legacy_options != NULL ) { return ( _sa_parse_legacy_options ( NULL , options , proto_table [ proto ] . p_name ) ) ; } return ( SA_CONFIG_ERR ) ; #else return ( SA_OK ) ; #endif }
zfs_parse_options(options, proto)
 Call the legacy parse interface to get the protocol specific
 options using the NULL arg to indicate that this is a "parse" only.
zfs_parse_options ( options proto ) Call the legacy parse interface to get the protocol specific options using the NULL arg to indicate that this is a " parse " only .