summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/lib/lib.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-20 18:33:55 +0000
committerjkh <jkh@FreeBSD.org>1996-06-20 18:33:55 +0000
commite8d26b1581dab3026009757a94a8134f0fd851ae (patch)
treedba527c7f22937fd67058464959dfb7d8498f44d /usr.sbin/pkg_install/lib/lib.h
parent0f52bd5cc8f1e74e89612834f46148b97a43991e (diff)
downloadFreeBSD-src-e8d26b1581dab3026009757a94a8134f0fd851ae.zip
FreeBSD-src-e8d26b1581dab3026009757a94a8134f0fd851ae.tar.gz
Make pkg_install understand and use libftpio instead of its own
copies of the ftp support routines. Also some cosmetic and minor bug fixes I've been meaning to incorporate for awhile.
Diffstat (limited to 'usr.sbin/pkg_install/lib/lib.h')
-rw-r--r--usr.sbin/pkg_install/lib/lib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h
index 2dafbc6..95ac9a1 100644
--- a/usr.sbin/pkg_install/lib/lib.h
+++ b/usr.sbin/pkg_install/lib/lib.h
@@ -1,4 +1,4 @@
-/* $Id: lib.h,v 1.19 1995/10/25 15:38:34 jkh Exp $ */
+/* $Id: lib.h,v 1.20 1996/06/08 00:46:32 alex Exp $ */
/*
* FreeBSD install - a package for the installation and maintainance
@@ -123,6 +123,8 @@ char *strconcat(char *, char *);
/* File */
Boolean fexists(char *);
Boolean isdir(char *);
+Boolean isemptydir(char *fname);
+Boolean isemptyfile(char *fname);
Boolean isfile(char *);
Boolean isempty(char *);
Boolean isURL(char *);
@@ -156,6 +158,7 @@ void mark_plist(Package *);
void csum_plist_entry(char *, PackingList);
void add_plist(Package *, plist_t, char *);
void add_plist_top(Package *, plist_t, char *);
+void delete_plist(Package *pkg, Boolean all, plist_t type, char *name);
void write_plist(Package *, FILE *);
void read_plist(Package *, FILE *);
int plist_cmd(char *, char **);
OpenPOWER on IntegriCloud