From 10e8a05be15a93ecb30d80420a7df79a41df0b6f Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Thu, 1 Aug 2002 17:20:30 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'V1_1_9_1mdk'. --- mdk-stage1/url.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 mdk-stage1/url.h (limited to 'mdk-stage1/url.h') diff --git a/mdk-stage1/url.h b/mdk-stage1/url.h deleted file mode 100644 index 5a59bd814..000000000 --- a/mdk-stage1/url.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Guillaume Cottenceau (gc@mandrakesoft.com) - * - * Copyright 2000 MandrakeSoft - * - * This software may be freely redistributed under the terms of the GNU - * public license. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -/* - * Portions from Erik Troan and Matt Wilson - * - * Copyright 1999 Red Hat, Inc. - * - */ - -#ifndef _URL_H_ -#define _URL_H_ - -int ftp_open_connection(char * host, char * name, char * password, char * proxy); -int ftp_start_download(int sock, char * remotename, int * size); -int ftp_end_data_command(int sock); - -int http_download_file(char * hostname, char * remotename, int * size); - - -#define FTPERR_BAD_SERVER_RESPONSE -1 -#define FTPERR_SERVER_IO_ERROR -2 -#define FTPERR_SERVER_TIMEOUT -3 -#define FTPERR_BAD_HOST_ADDR -4 -#define FTPERR_BAD_HOSTNAME -5 -#define FTPERR_FAILED_CONNECT -6 -#define FTPERR_FILE_IO_ERROR -7 -#define FTPERR_PASSIVE_ERROR -8 -#define FTPERR_FAILED_DATA_CONNECT -9 -#define FTPERR_FILE_NOT_FOUND -10 -#define FTPERR_UNKNOWN -100 - -#endif -- cgit v1.2.1