pkginstall.h revision 5c51f1241dbbdf2656d0e10011981411ed0c9673
/*
* 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
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef __PKG_PKGINSTALL_H__
#define __PKG_PKGINSTALL_H__
#ifdef __cplusplus
extern "C" {
#endif
/* cppath() variables */
/* special stdin for request scripts */
/* response file writability status */
#define RESP_WR 0 /* Response file is writable. */
#ifdef __STDC__
#ifndef __P
#define __P(x) x
#endif
#else
#ifndef __P
#define __P(x) ()
#endif
#endif /* __STDC__ */
int nparts));
char *a_zoneName));
extern int rdonly_respfile __P((void));
extern int is_a_respfile __P((void));
extern char *get_respfile __P((void));
int resp_stat));
extern int ckrunlevel __P((void));
extern int ckpkgfiles __P((void));
extern void is_WOS_arch __P((void));
extern int is_samepkg __P((void));
extern int special_contents_add(int, struct cfextra **, const char *);
extern boolean_t rm_all_pkg_entries(char *, char *);
#ifdef __cplusplus
}
#endif
#endif /* __PKG_PKGINSTALL_H__ */