fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER END
ba3594ba9b5dd4c846c472a8d657edcb7c8109acGarrett D'Amore * Copyright 2014 Garrett D'Amore <garrett@damore.org>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * External file descriptor.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Runtime Solaris release checking.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * nsc_check_release() is called with the string build release
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * (BUILD_REV_STR) and an optional array of nsc_release_t. The array
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * defines a map of build release to acceptable runtime release for the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * component. The build release is always an acceptable runtime
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * release and need not be included in the map.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * build - the build release (e.g. "5.7")
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * runtime - comma &/or space separated list of acceptable runtime
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * releases (e.g. "5.7, 5.8")
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteextern void _nsc_nocheck(void);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteextern int nsc_partsize(nsc_fd_t *, nsc_size_t *);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteextern int nsc_check_release(const char *, nsc_release_t *, char **);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif /* _NSCTL_H */