1/* $FreeBSD: head/usr.sbin/pkg_install/add/add.h 156497 2006-03-09 14:49:19Z phk $ */
| 1/* $FreeBSD: head/usr.sbin/pkg_install/add/add.h 173513 2007-11-10 09:40:39Z krion $ */
|
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 add command. 20 * 21 */ 22 23#ifndef _INST_ADD_H_INCLUDE 24#define _INST_ADD_H_INCLUDE 25 26typedef enum { NORMAL, MASTER, SLAVE } add_mode_t; 27 28extern char *Prefix; 29extern Boolean PrefixRecursive; 30extern Boolean NoInstall; 31extern Boolean NoRecord; 32extern Boolean FailOnAlreadyInstalled; 33extern Boolean KeepPackage;
| 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 add command. 20 * 21 */ 22 23#ifndef _INST_ADD_H_INCLUDE 24#define _INST_ADD_H_INCLUDE 25 26typedef enum { NORMAL, MASTER, SLAVE } add_mode_t; 27 28extern char *Prefix; 29extern Boolean PrefixRecursive; 30extern Boolean NoInstall; 31extern Boolean NoRecord; 32extern Boolean FailOnAlreadyInstalled; 33extern Boolean KeepPackage;
|
| 34extern Boolean IgnoreDeps;
|
34extern char *Mode; 35extern char *Owner; 36extern char *Group; 37extern char *Directory; 38extern char *PkgName; 39extern char *PkgAddCmd; 40extern char FirstPen[]; 41extern add_mode_t AddMode; 42 43int make_hierarchy(char *); 44void extract_plist(const char *, Package *); 45void apply_perms(const char *, const char *); 46 47#endif /* _INST_ADD_H_INCLUDE */
| 35extern char *Mode; 36extern char *Owner; 37extern char *Group; 38extern char *Directory; 39extern char *PkgName; 40extern char *PkgAddCmd; 41extern char FirstPen[]; 42extern add_mode_t AddMode; 43 44int make_hierarchy(char *); 45void extract_plist(const char *, Package *); 46void apply_perms(const char *, const char *); 47 48#endif /* _INST_ADD_H_INCLUDE */
|