summaryrefslogtreecommitdiff
path: root/net/libfetch/files/ftp.c
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-04 22:37:28 +0000
committerjoerg <joerg>2008-04-04 22:37:28 +0000
commit471b52c95e5286b184e375a32126dd308be587b3 (patch)
treef35cb0ccecb7e0e7c275860a9294873d75b75ea8 /net/libfetch/files/ftp.c
parente8c4c11bb824de7cdece49ea0c7280a66e717173 (diff)
downloadpkgsrc-471b52c95e5286b184e375a32126dd308be587b3.tar.gz
libfetch-2.2:
Add interface to glob a directory.
Diffstat (limited to 'net/libfetch/files/ftp.c')
-rw-r--r--net/libfetch/files/ftp.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/net/libfetch/files/ftp.c b/net/libfetch/files/ftp.c
index 95448b73845..179bb0db255 100644
--- a/net/libfetch/files/ftp.c
+++ b/net/libfetch/files/ftp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ftp.c,v 1.11 2008/04/04 15:17:51 joerg Exp $ */
+/* $NetBSD: ftp.c,v 1.12 2008/04/04 22:37:28 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -1171,6 +1171,16 @@ fetchStatFTP(struct url *url, struct url_stat *us, const char *flags)
* List a directory
*/
struct url_ent *
+fetchFilteredListFTP(struct url *url, const char *pattern, const char *flags)
+{
+ fprintf(stderr, "fetchFilteredListFTP(): not implemented\n");
+ return (NULL);
+}
+
+/*
+ * List a directory
+ */
+struct url_ent *
fetchListFTP(struct url *url, const char *flags)
{
fprintf(stderr, "fetchListFTP(): not implemented\n");