manifest_find.h revision 9444c26f4faabda140242c3986089704c4073ced
9444c26f4faabda140242c3986089704c4073cedTom Whitten * CDDL HEADER START
9444c26f4faabda140242c3986089704c4073cedTom Whitten * The contents of this file are subject to the terms of the
9444c26f4faabda140242c3986089704c4073cedTom Whitten * Common Development and Distribution License (the "License").
9444c26f4faabda140242c3986089704c4073cedTom Whitten * You may not use this file except in compliance with the License.
9444c26f4faabda140242c3986089704c4073cedTom Whitten * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9444c26f4faabda140242c3986089704c4073cedTom Whitten * See the License for the specific language governing permissions
9444c26f4faabda140242c3986089704c4073cedTom Whitten * and limitations under the License.
9444c26f4faabda140242c3986089704c4073cedTom Whitten * When distributing Covered Code, include this CDDL HEADER in each
9444c26f4faabda140242c3986089704c4073cedTom Whitten * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9444c26f4faabda140242c3986089704c4073cedTom Whitten * If applicable, add the following below this CDDL HEADER, with the
9444c26f4faabda140242c3986089704c4073cedTom Whitten * fields enclosed by brackets "[]" replaced with your own identifying
9444c26f4faabda140242c3986089704c4073cedTom Whitten * information: Portions Copyright [yyyy] [name of copyright owner]
9444c26f4faabda140242c3986089704c4073cedTom Whitten * CDDL HEADER END
9444c26f4faabda140242c3986089704c4073cedTom Whitten * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
9444c26f4faabda140242c3986089704c4073cedTom Whitten * Use is subject to license terms.
9444c26f4faabda140242c3986089704c4073cedTom Whittentypedef struct manifest_info {
9444c26f4faabda140242c3986089704c4073cedTom Whitten const char *mi_path; /* Path of manifest file */
9444c26f4faabda140242c3986089704c4073cedTom Whitten const char *mi_prop; /* Property that holds manifest hash */
9444c26f4faabda140242c3986089704c4073cedTom Whitten uchar_t mi_hash[MHASH_SIZE]; /* Manifest hash */
9444c26f4faabda140242c3986089704c4073cedTom Whitten * Declare functions that are used for finding manifest files in a
9444c26f4faabda140242c3986089704c4073cedTom Whitten * directory.
9444c26f4faabda140242c3986089704c4073cedTom Whittenint find_manifests(const char *, manifest_info_t ***, int);
9444c26f4faabda140242c3986089704c4073cedTom Whitten#endif /* _MANIFEST_FIND_H */