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