Initial import from FreeBSD RELENG_4:
[games.git] / usr.sbin / pkg_install / create / create.h
1 /* $FreeBSD: src/usr.sbin/pkg_install/create/create.h,v 1.15.2.5 2002/05/29 18:31:11 obrien Exp $ */
2
3 /*
4  * FreeBSD install - a package for the installation and maintainance
5  * of non-core utilities.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * Jordan K. Hubbard
17  * 18 July 1993
18  *
19  * Include and define various things wanted by the create command.
20  *
21  */
22
23 #ifndef _INST_CREATE_H_INCLUDE
24 #define _INST_CREATE_H_INCLUDE
25
26 extern char     *Prefix;
27 extern char     *Comment;
28 extern char     *Desc;
29 extern char     *Display;
30 extern char     *Install;
31 extern char     *PostInstall;
32 extern char     *DeInstall;
33 extern char     *PostDeInstall;
34 extern char     *Contents;
35 extern char     *Require;
36 extern char     *SrcDir;
37 extern char     *ExcludeFrom;
38 extern char     *Mtree;
39 extern char     *Pkgdeps;
40 extern char     *Origin;
41 extern char     *InstalledPkg;
42 extern char     PlayPen[];
43 extern int      Dereference;
44 extern int      PlistOnly;
45
46 enum zipper {NONE, GZIP, BZIP, BZIP2 };
47 extern enum zipper      Zipper;
48
49 void            check_list(const char *, Package *);
50 int             pkg_perform(char **);
51 void            copy_plist(const char *, Package *);
52
53 #endif  /* _INST_CREATE_H_INCLUDE */