xref: /minix/external/bsd/pkg_install/dist/add/add.h (revision 0a6a1f1d)
1 /* $NetBSD: add.h,v 1.1.1.7 2011/02/18 22:32:27 aymeric Exp $ */
2 
3 /* from FreeBSD Id: add.h,v 1.8 1997/02/22 16:09:15 peter Exp  */
4 
5 /*
6  * FreeBSD install - a package for the installation and maintainance
7  * of non-core utilities.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions
11  * are met:
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.
17  *
18  * Jordan K. Hubbard
19  * 18 July 1993
20  *
21  * Include and define various things wanted by the add command.
22  *
23  */
24 
25 #ifndef _INST_ADD_H_INCLUDE
26 #define _INST_ADD_H_INCLUDE
27 
28 extern char *Destdir;
29 extern char *OverrideMachine;
30 extern char *Prefix;
31 extern char *View;
32 extern char *Viewbase;
33 extern Boolean NoView;
34 extern Boolean NoInstall;
35 extern Boolean NoRecord;
36 extern Boolean Force;
37 extern Boolean Automatic;
38 extern int LicenseCheck;
39 extern int Replace;
40 extern int ReplaceSame;
41 
42 extern Boolean ForceDepends;
43 extern Boolean ForceDepending;
44 
45 int     make_hierarchy(char *);
46 void    apply_perms(char *, char **, int);
47 
48 int     pkg_perform(lpkg_head_t *);
49 
50 #endif				/* _INST_ADD_H_INCLUDE */
51