diff options
Diffstat (limited to 'mdk-stage1/url.h')
-rw-r--r-- | mdk-stage1/url.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mdk-stage1/url.h b/mdk-stage1/url.h index 5a59bd814..2c80e4432 100644 --- a/mdk-stage1/url.h +++ b/mdk-stage1/url.h @@ -1,7 +1,7 @@ /* - * Guillaume Cottenceau (gc@mandrakesoft.com) + * Guillaume Cottenceau (gc) * - * Copyright 2000 MandrakeSoft + * Copyright 2000 Mandriva * * This software may be freely redistributed under the terms of the GNU * public license. @@ -23,10 +23,12 @@ #define _URL_H_ int ftp_open_connection(char * host, char * name, char * password, char * proxy); +int ftp_get_filesize(int sock, char * remotename); int ftp_start_download(int sock, char * remotename, int * size); int ftp_end_data_command(int sock); +char *str_ftp_error(int error); -int http_download_file(char * hostname, char * remotename, int * size); +int http_download_file(char * hostname, char * remotename, int * size, char * proxyprotocol, char * proxyname, char * proxyport); #define FTPERR_BAD_SERVER_RESPONSE -1 |