aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v310/namespaces.php
diff options
context:
space:
mode:
authorCrizzo <mail@crizzo.de>2014-03-24 21:43:30 +0100
committerCrizzo <mail@crizzo.de>2014-03-28 19:36:12 +0100
commit28f17897b48f7ec06958eda30cbceafaec907002 (patch)
tree47510fb01ebdec6e056f5b41e18b194ce4319d8e /phpBB/phpbb/db/migration/data/v310/namespaces.php
parent38d2efe829e3cc98796eacf37f62e05d7b3dc5db (diff)
downloadforums-28f17897b48f7ec06958eda30cbceafaec907002.tar
forums-28f17897b48f7ec06958eda30cbceafaec907002.tar.gz
forums-28f17897b48f7ec06958eda30cbceafaec907002.tar.bz2
forums-28f17897b48f7ec06958eda30cbceafaec907002.tar.xz
forums-28f17897b48f7ec06958eda30cbceafaec907002.zip
[ticket/11336] Adds 301 info to redirect
PHPBB3-11336
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v310/namespaces.php')
0 files changed, 0 insertions, 0 deletions
ref='#n34'>34 35 36 37 38 39 40 41 42 43 44
/*
 * 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);


#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