Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/pkg_install/lib Pull up revision 1.29 (request...



details:   https://anonhg.NetBSD.org/src/rev/ac8859605ab0
branches:  netbsd-1-4
changeset: 470238:ac8859605ab0
user:      he <he%NetBSD.org@localhost>
date:      Mon Jan 31 20:59:47 2000 +0000

description:
Pull up revision 1.29 (requested by hubertf):
  Implement FTP wildcard depends, to give NetBSD full wildcard support
  not only in pkgsrc but also for binary packages installed from
  local disk or via FTP.

diffstat:

 usr.sbin/pkg_install/lib/lib.h |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r ead6dca6aa72 -r ac8859605ab0 usr.sbin/pkg_install/lib/lib.h
--- a/usr.sbin/pkg_install/lib/lib.h    Mon Jan 31 20:59:28 2000 +0000
+++ b/usr.sbin/pkg_install/lib/lib.h    Mon Jan 31 20:59:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lib.h,v 1.21.2.4 1999/12/20 15:36:55 he Exp $ */
+/* $NetBSD: lib.h,v 1.21.2.5 2000/01/31 20:59:47 he Exp $ */
 
 /* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */
 
@@ -180,7 +180,8 @@
 char   *basename_of(char *);
 char   *dirname_of(const char *);
 int     pmatch(const char *, const char *);
-int     findmatchingname(const char *, const char *, matchfn, char *); /* doesn't really belong here */
+int     findmatchingname(const char *, const char *, matchfn, char *); /* doesn't really belong to "strings" */
+int    findbestmatchingname_fn(const char *pkg, char *data);   /* neither */
 char   *findbestmatchingname(const char *, const char *);      /* neither */
 int     ispkgpattern(const char *);
 char   *strnncpy(char *to, size_t tosize, char *from, size_t cc);
@@ -207,6 +208,11 @@
 int     unpack(char *, char *);
 void    format_cmd(char *, size_t, char *, char *, char *);
 
+/* ftpio.c: FTP handling */
+int    expandURL(char *expandedurl, const char *wildcardurl);
+int    unpackURL(const char *url, const char *dir);
+void   ftp_stop(void);
+
 /* Packing list */
 plist_t *new_plist_entry(void);
 plist_t *last_plist(package_t *);



Home | Main Index | Thread Index | Old Index