diff options
Diffstat (limited to 'mdk-stage1/url.h')
| -rw-r--r-- | mdk-stage1/url.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mdk-stage1/url.h b/mdk-stage1/url.h index d4f7f3992..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,8 +23,10 @@ #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, char * proxyprotocol, char * proxyname, char * proxyport); |
