Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / bsd / pkg_install / dist / add / add.h
blobd2f073734bb2e1bf568f4ca3e8997f0aa0eb3524
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 */
5 /*
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
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.
18 * Jordan K. Hubbard
19 * 18 July 1993
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;
29 extern char *Destdir;
30 extern char *OverrideMachine;
31 extern char *Prefix;
32 extern char *View;
33 extern char *Viewbase;
34 extern Boolean NoView;
35 extern Boolean NoInstall;
36 extern Boolean NoRecord;
37 extern Boolean Force;
38 extern Boolean Automatic;
39 extern int LicenseCheck;
40 extern int Replace;
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 */