diff options
author | jkh <jkh@FreeBSD.org> | 1995-10-25 15:38:37 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-10-25 15:38:37 +0000 |
commit | d4d9564530f574c891a76bc0ca7af4c9275e9442 (patch) | |
tree | 38f96dd54eeecc8a263b88c6c73dd075dcbadb38 /usr.sbin/pkg_install/lib/lib.h | |
parent | a31022b303ea5ec7c096c6165e363e3fd1058fee (diff) | |
download | FreeBSD-src-d4d9564530f574c891a76bc0ca7af4c9275e9442.zip FreeBSD-src-d4d9564530f574c891a76bc0ca7af4c9275e9442.tar.gz |
Bring forward my changes from 2.1
Diffstat (limited to 'usr.sbin/pkg_install/lib/lib.h')
-rw-r--r-- | usr.sbin/pkg_install/lib/lib.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h index a5c2fa5..d0e770b 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.17 1995/07/30 01:44:45 ache Exp $ */ +/* $Id: lib.h,v 1.18 1995/08/26 10:15:12 jkh Exp $ */ /* * FreeBSD install - a package for the installation and maintainance @@ -107,8 +107,8 @@ typedef struct _pack Package; int vsystem(const char *, ...); void cleanup(int); char *make_playpen(char *, size_t); -void leave_playpen(void); char *where_playpen(void); +void leave_playpen(char *); size_t min_free(char *); /* String */ @@ -118,6 +118,7 @@ Boolean suffix(char *, char *); void nuke_suffix(char *); void str_lowercase(char *); char *basename_of(char *); +char *strconcat(char *, char *); /* File */ Boolean fexists(char *); @@ -125,10 +126,10 @@ Boolean isdir(char *); Boolean isfile(char *); Boolean isempty(char *); Boolean isURL(char *); -char *fileGetURL(char *); +char *fileGetURL(char *, char *); char *fileURLFilename(char *, char *, int); char *fileURLHost(char *, char *, int); -char *fileFindByPath(char *); +char *fileFindByPath(char *, char *); char *fileGetContents(char *); void write_file(char *, char *); void copy_file(char *, char *, char *); |