1 /* $NetBSD: add.h,v 1.16 2009/10/07 12:53:26 joerg Exp $ */
3 /* from FreeBSD Id: add.h,v 1.8 1997/02/22 16:09:15 peter Exp */
6 * FreeBSD install - a package for the installation and maintainance
7 * of non-core utilities.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the
16 * documentation and/or other materials provided with the distribution.
21 * Include and define various things wanted by the add command.
25 #ifndef _INST_ADD_H_INCLUDE
26 #define _INST_ADD_H_INCLUDE
28 extern const char *PlainPkgdb
;
30 extern char *OverrideMachine
;
33 extern char *Viewbase
;
34 extern Boolean NoView
;
35 extern Boolean NoInstall
;
36 extern Boolean NoRecord
;
38 extern Boolean Automatic
;
39 extern int LicenseCheck
;
42 extern Boolean ForceDepends
;
44 int make_hierarchy(char *);
45 void apply_perms(char *, char **, int);
47 int pkg_perform(lpkg_head_t
*);
49 #endif /* _INST_ADD_H_INCLUDE */