1 /* $FreeBSD: src/usr.sbin/pkg_install/add/add.h,v 1.9.2.1 2001/10/23 09:16:03 sobomax Exp $ */
2 /* $DragonFly: src/usr.sbin/pkg_install/add/Attic/add.h,v 1.2 2003/06/17 04:29:59 dillon Exp $ */
5 * FreeBSD install - a package for the installation and maintainance
6 * of non-core utilities.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
20 * Include and define various things wanted by the add command.
24 #ifndef _INST_ADD_H_INCLUDE
25 #define _INST_ADD_H_INCLUDE
27 typedef enum { NORMAL, MASTER, SLAVE } add_mode_t;
30 extern Boolean NoInstall;
31 extern Boolean NoRecord;
36 extern char *Directory;
38 extern char FirstPen[];
39 extern add_mode_t AddMode;
41 int make_hierarchy(char *);
42 void extract_plist(const char *, Package *);
43 void apply_perms(const char *, const char *);
45 #endif /* _INST_ADD_H_INCLUDE */