Deleted Added
full compact
add.h (50479) add.h (84745)
1/* $FreeBSD: head/usr.sbin/pkg_install/add/add.h 50479 1999-08-28 01:35:59Z peter $ */
1/* $FreeBSD: head/usr.sbin/pkg_install/add/add.h 84745 2001-10-10 06:58:42Z sobomax $ */
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 NoInstall;
30extern Boolean NoRecord;
31extern Boolean Force;
32extern char *Mode;
33extern char *Owner;
34extern char *Group;
35extern char *Directory;
36extern char *PkgName;
37extern char FirstPen[];
38extern add_mode_t AddMode;
39
40int make_hierarchy(char *);
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 NoInstall;
30extern Boolean NoRecord;
31extern Boolean Force;
32extern char *Mode;
33extern char *Owner;
34extern char *Group;
35extern char *Directory;
36extern char *PkgName;
37extern char FirstPen[];
38extern add_mode_t AddMode;
39
40int make_hierarchy(char *);
41void extract_plist(char *, Package *);
42void apply_perms(char *, char *);
41void extract_plist(const char *, Package *);
42void apply_perms(const char *, const char *);
43
44#endif /* _INST_ADD_H_INCLUDE */
43
44#endif /* _INST_ADD_H_INCLUDE */