scfutil.h revision 6185db853e024a486ff8837e6784dd290d866112
6185db853e024a486ff8837e6784dd290d866112dougm * CDDL HEADER START
6185db853e024a486ff8837e6784dd290d866112dougm * The contents of this file are subject to the terms of the
6185db853e024a486ff8837e6784dd290d866112dougm * Common Development and Distribution License (the "License").
6185db853e024a486ff8837e6784dd290d866112dougm * You may not use this file except in compliance with the License.
6185db853e024a486ff8837e6784dd290d866112dougm * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6185db853e024a486ff8837e6784dd290d866112dougm * See the License for the specific language governing permissions
6185db853e024a486ff8837e6784dd290d866112dougm * and limitations under the License.
6185db853e024a486ff8837e6784dd290d866112dougm * When distributing Covered Code, include this CDDL HEADER in each
6185db853e024a486ff8837e6784dd290d866112dougm * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6185db853e024a486ff8837e6784dd290d866112dougm * If applicable, add the following below this CDDL HEADER, with the
6185db853e024a486ff8837e6784dd290d866112dougm * fields enclosed by brackets "[]" replaced with your own identifying
6185db853e024a486ff8837e6784dd290d866112dougm * information: Portions Copyright [yyyy] [name of copyright owner]
6185db853e024a486ff8837e6784dd290d866112dougm * CDDL HEADER END
6185db853e024a486ff8837e6784dd290d866112dougm * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
6185db853e024a486ff8837e6784dd290d866112dougm * Use is subject to license terms.
6185db853e024a486ff8837e6784dd290d866112dougm * basic API declarations for share management
6185db853e024a486ff8837e6784dd290d866112dougm#pragma ident "%Z%%M% %I% %E% SMI"
6185db853e024a486ff8837e6784dd290d866112dougmextern "C" {
6185db853e024a486ff8837e6784dd290d866112dougmtypedef struct scfutilhandle {
6185db853e024a486ff8837e6784dd290d866112dougmextern int sa_get_config(scfutilhandle_t *, xmlNodePtr *, xmlDocPtr *);
6185db853e024a486ff8837e6784dd290d866112dougmextern int sa_create_instance(scfutilhandle_t *, char *);
6185db853e024a486ff8837e6784dd290d866112dougm * Shares are held in a property group with name of the form
6185db853e024a486ff8837e6784dd290d866112dougm * S-<GUID>. The total length of the name is 38 characters.
6185db853e024a486ff8837e6784dd290d866112dougm * service instance related defines
6185db853e024a486ff8837e6784dd290d866112dougm#endif /* _SCFUTIL_H */