summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/url.h
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2004-02-20 00:03:26 +0000
committerMystery Man <unknown@mandriva.org>2004-02-20 00:03:26 +0000
commit959a1722faec6b30510c788c49dcb4b7cb96d1e0 (patch)
tree8d25ea2b09098078292e7dcda489471a30b4e81a /mdk-stage1/url.h
parent0413d7133026a6cddf226027ebdfee6fa68890f7 (diff)
downloaddrakx-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar
drakx-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar.gz
drakx-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar.bz2
drakx-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar.xz
drakx-959a1722faec6b30510c788c49dcb4b7cb96d1e0.zip
This commit was manufactured by cvs2svn to create tag 'V10_0_21mdk'.V10_0_21mdk
Diffstat (limited to 'mdk-stage1/url.h')
-rw-r--r--mdk-stage1/url.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/mdk-stage1/url.h b/mdk-stage1/url.h
deleted file mode 100644
index d4f7f3992..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 <ewt@redhat.com> and Matt Wilson <msw@redhat.com>
- *
- * 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, char * proxyprotocol, char * proxyname, char * proxyport);
-
-
-#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