1 /* $FreeBSD: src/usr.sbin/pkg_install/add/add.h,v 1.9.2.1 2001/10/23 09:16:03 sobomax Exp $ */
4 * FreeBSD install - a package for the installation and maintainance
5 * of non-core utilities.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
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.
19 * Include and define various things wanted by the add command.
23 #ifndef _INST_ADD_H_INCLUDE
24 #define _INST_ADD_H_INCLUDE
26 typedef enum { NORMAL, MASTER, SLAVE } add_mode_t;
29 extern Boolean NoInstall;
30 extern Boolean NoRecord;
35 extern char *Directory;
37 extern char FirstPen[];
38 extern add_mode_t AddMode;
40 int make_hierarchy(char *);
41 void extract_plist(const char *, Package *);
42 void apply_perms(const char *, const char *);
44 #endif /* _INST_ADD_H_INCLUDE */