summaryrefslogtreecommitdiff
path: root/lib/rpmurl.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-03 20:33:53 +0000
committerjbj <devnull@localhost>1999-11-03 20:33:53 +0000
commit94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5 (patch)
tree4f780c9b46898133105da7b2454d85ae8003edb7 /lib/rpmurl.h
parent85d4129c7bedafd466625fd4400ea5607e2f09a1 (diff)
downloadrpm-94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5.tar.gz
rpm-94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5.tar.bz2
rpm-94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5.zip
First use of libio.
CVS patchset: 3416 CVS date: 1999/11/03 20:33:53
Diffstat (limited to 'lib/rpmurl.h')
-rw-r--r--lib/rpmurl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmurl.h b/lib/rpmurl.h
index a9a4665dd..477c051ad 100644
--- a/lib/rpmurl.h
+++ b/lib/rpmurl.h
@@ -42,7 +42,7 @@ typedef /*@abstract@*/ /*@refcounted@*/ struct urlinfo {
const char *proxyh; /* FTP/HTTP: proxy host */
int proxyp; /* FTP/HTTP: proxy port */
int port;
- int ftpControl;
+ FD_t ftpControl;
int ftpFileDoneNeeded;
int openError; /* Type of open failure */
} *urlinfo;
@@ -75,7 +75,7 @@ void urlFreeCache(void);
urltype urlIsURL(const char * url);
int urlSplit(const char *url, /*@out@*/ urlinfo *u);
-int urlFile(const char * url, const char * dest, int push);
+int urlGetFile(const char * url, const char * dest);
#ifdef __cplusplus
}