aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/sphinx/config_variable.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-30 01:18:32 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-07-30 01:23:13 +0200
commit0ff2e93c1937f96f8fcd733a152a0c2f263706b1 (patch)
tree0a62c9835e7c3967cf3b5ce1fda72508c635eab5 /phpBB/phpbb/search/sphinx/config_variable.php
parent91392c728826c38fd625a80c4e855d373b6866e1 (diff)
downloadforums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar.gz
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar.bz2
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar.xz
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.zip
[ticket/11574] Do not display incompatible package note after successful update
PHPBB3-11574
Diffstat (limited to 'phpBB/phpbb/search/sphinx/config_variable.php')
0 files changed, 0 insertions, 0 deletions
id='n36' href='#n36'>36 37 38 39 40 41 42 43 44 45 46
/*
 * 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_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);


#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