Deleted Added
full compact
lib.h (98766) lib.h (103149)
1/* $FreeBSD: head/usr.sbin/pkg_install/lib/lib.h 98766 2002-06-24 16:03:24Z markm $ */
1/* $FreeBSD: head/usr.sbin/pkg_install/lib/lib.h 103149 2002-09-09 19:43:30Z 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:

--- 67 unchanged lines hidden (view full) ---

77#define DISPLAY_FNAME "+DISPLAY"
78#define MTREE_FNAME "+MTREE_DIRS"
79
80#define CMD_CHAR '@' /* prefix for extended PLIST cmd */
81
82/* The name of the "prefix" environment variable given to scripts */
83#define PKG_PREFIX_VNAME "PKG_PREFIX"
84
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:

--- 67 unchanged lines hidden (view full) ---

77#define DISPLAY_FNAME "+DISPLAY"
78#define MTREE_FNAME "+MTREE_DIRS"
79
80#define CMD_CHAR '@' /* prefix for extended PLIST cmd */
81
82/* The name of the "prefix" environment variable given to scripts */
83#define PKG_PREFIX_VNAME "PKG_PREFIX"
84
85/*
86 * Version of the package tools - increase only when some
87 * functionality used by bsd.port.mk is changed, added or removed
88 */
89#define PKG_INSTALL_VERSION 20020908
90
91#define PKG_WRAPCONF_FNAME "/var/db/pkg_install.conf"
92#define main(argc, argv) real_main(argc, argv)
93
85/* Version numbers to assist with changes in package file format */
86#define PLIST_FMT_VER_MAJOR 1
87#define PLIST_FMT_VER_MINOR 1
88
89enum _plist_t {
90 PLIST_FILE, PLIST_CWD, PLIST_CMD, PLIST_CHMOD,
91 PLIST_CHOWN, PLIST_CHGRP, PLIST_COMMENT, PLIST_IGNORE,
92 PLIST_NAME, PLIST_UNEXEC, PLIST_SRC, PLIST_DISPLAY,

--- 92 unchanged lines hidden (view full) ---

185void write_plist(Package *, FILE *);
186void read_plist(Package *, FILE *);
187int plist_cmd(const char *, char **);
188int delete_package(Boolean, Boolean, Package *);
189Boolean make_preserve_name(char *, int, const char *, const char *);
190
191/* For all */
192int pkg_perform(char **);
94/* Version numbers to assist with changes in package file format */
95#define PLIST_FMT_VER_MAJOR 1
96#define PLIST_FMT_VER_MINOR 1
97
98enum _plist_t {
99 PLIST_FILE, PLIST_CWD, PLIST_CMD, PLIST_CHMOD,
100 PLIST_CHOWN, PLIST_CHGRP, PLIST_COMMENT, PLIST_IGNORE,
101 PLIST_NAME, PLIST_UNEXEC, PLIST_SRC, PLIST_DISPLAY,

--- 92 unchanged lines hidden (view full) ---

194void write_plist(Package *, FILE *);
195void read_plist(Package *, FILE *);
196int plist_cmd(const char *, char **);
197int delete_package(Boolean, Boolean, Package *);
198Boolean make_preserve_name(char *, int, const char *, const char *);
199
200/* For all */
201int pkg_perform(char **);
202int real_main(int, char **);
193
194/* Query installed packages */
195char **matchinstalled(match_t, char **, int *);
196char **matchbyorigin(const char *, int *);
197int isinstalledpkg(const char *name);
198
199/* Dependencies */
200int sortdeps(char **);

--- 15 unchanged lines hidden ---
203
204/* Query installed packages */
205char **matchinstalled(match_t, char **, int *);
206char **matchbyorigin(const char *, int *);
207int isinstalledpkg(const char *name);
208
209/* Dependencies */
210int sortdeps(char **);

--- 15 unchanged lines hidden ---